Skip to content

Improve main content width for short pages#1200

Merged
LadyBluenotes merged 3 commits intosolidjs:mainfrom
amirhhashemi:fix-docs-width
Jun 11, 2025
Merged

Improve main content width for short pages#1200
LadyBluenotes merged 3 commits intosolidjs:mainfrom
amirhhashemi:fix-docs-width

Conversation

@amirhhashemi
Copy link
Copy Markdown
Collaborator

  • I have read the Contribution guide
  • This PR references an issue (except for typos, broken links, or other minor problems)

Description(required)

This PR addresses a layout inconsistency where pages with very little content appear visually "squeezed" and disproportionately narrow. Currently, the main content area's width adapts to the content size, which is generally fine for longer pages but creates an awkward appearance on shorter ones.

Before:
image

After:
image

@bolt-new-by-stackblitz
Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 11, 2025

Deploy Preview for solid-docs ready!

Name Link
🔨 Latest commit e8f8a1f
🔍 Latest deploy log https://app.netlify.com/projects/solid-docs/deploys/6849e5961f4a3c00087e604a
😎 Deploy Preview https://deploy-preview-1200--solid-docs.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.

@LadyBluenotes LadyBluenotes self-requested a review June 11, 2025 18:38
@LadyBluenotes LadyBluenotes merged commit 0b47cc0 into solidjs:main Jun 11, 2025
7 checks passed
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