Skip to content

fix: make props panel responsive with equal columns on mobile#25

Open
Huxpro wants to merge 4 commits intomainfrom
Huxpro/table-scroll-mobile
Open

fix: make props panel responsive with equal columns on mobile#25
Huxpro wants to merge 4 commits intomainfrom
Huxpro/table-scroll-mobile

Conversation

@Huxpro
Copy link
Copy Markdown
Member

@Huxpro Huxpro commented Mar 19, 2026

Change all 4 columns in the props panel to default to equal flex-basis (25%) with reasonable min-widths. This enables horizontal scrolling on mobile instead of over-compressing the props content. Add col3 (Props) to the resizable system and update ColumnResizer to handle initial flex-based widths.

Changes

  • All columns now start with equal 25% width (flex: 1 1 0)
  • Each column has reasonable min-widths: 140px, 120px, 200px, 160px
  • Props column (col3) is now also resizable
  • Container uses horizontal scroll on narrow viewports instead of compressing text

…roll on mobile

Change all 4 columns in the props panel to default to equal flex-basis (25%) with reasonable min-widths (140px, 120px, 200px, 160px). This enables horizontal scrolling on mobile instead of over-compressing the props content. Add col3 (Props) to the resizable system and update ColumnResizer to handle initial flex-based widths.
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 19, 2026

Deploy Preview for lynx-go-web ready!

Name Link
🔨 Latest commit ce125de
🔍 Latest deploy log https://app.netlify.com/projects/lynx-go-web/deploys/69bc8987df28da0007cf1824
😎 Deploy Preview https://deploy-preview-25--lynx-go-web.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Huxpro added 3 commits March 19, 2026 09:41
Remove the whole-container LoadingOverlay that was covering both code
and preview panels. Instead, hide the code panel via visibility:hidden
until shiki highlighting completes (onRendered), preventing FOUC
without blocking the preview panel's own loading overlay.
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.

1 participant