Skip to content

website: Fit StatusBar demo sections to narrow windows - #3301

Merged
madcodelife merged 1 commit into
mainfrom
ihavecoke/fix-status-bar-demo
Sep 28, 2026
Merged

madcodelife merged 1 commit into
mainfrom
ihavecoke/fix-status-bar-demo

Conversation

@ihavecoke

Copy link
Copy Markdown
Member

Summary

The StatusBar demo on https://gpui-kit.com/component/status-bar/ was clipped on both sides. Each story section was fixed at w(px(760.)), wider than the content area of the ~748px website iframe, so the centered, overflow-hidden GroupBox content cut off both ends. Sections now use max_w(px(760.)): they fill narrower windows and stay 760px wide in the desktop gallery.

Verified by building story-web locally and rendering ?story=StatusBar at a 748px viewport; every bar shows both ends.

Context

Branch: ihavecoke/fix-status-bar-demo

The change was written with AI assistance.

Generated with Claude Code

Each StatusBar story section was fixed at 760px. The website embeds the
gallery in an iframe about 748px wide, so the section overflowed the
GroupBox content and was clipped on both sides by its centered,
overflow-hidden container. Cap the width with max_w instead so the
sections fill narrower windows and stay 760px in the desktop gallery.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@madcodelife
madcodelife enabled auto-merge (squash) September 28, 2026 14:38
@ihavecoke ihavecoke changed the title story: Fit StatusBar demo sections to narrow windows websites: Fit StatusBar demo sections to narrow windows Sep 28, 2026
@ihavecoke ihavecoke changed the title websites: Fit StatusBar demo sections to narrow windows website: Fit StatusBar demo sections to narrow windows Sep 28, 2026
@madcodelife
madcodelife enabled auto-merge (squash) September 28, 2026 14:52
@madcodelife
madcodelife merged commit 9fda5d5 into main Sep 28, 2026
21 of 22 checks passed
@madcodelife
madcodelife deleted the ihavecoke/fix-status-bar-demo branch September 28, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants