Skip to content

Conversation

@Mpdreamz
Copy link
Member

@Mpdreamz Mpdreamz commented Apr 30, 2025

cursorful-video-1746019180296.mp4

Continuation of #1197

Instead of having variable gaps this now refocusses on having a dynamic max-layout-width based on ensuring theres enough space for the side bars + 90characters of content.

This normalizes margins and creates calmer reading experience (IMO of course :))

The header menu and footer also follow max-layout-width now ensuring they match the content boundaries.

This also opens up the possibility to create a dedicated ultra large media experience if we ever want to go beyond 90ch or create a bit more margin for wide screens.

@Mpdreamz Mpdreamz requested a review from a team as a code owner April 30, 2025 13:19
@Mpdreamz Mpdreamz added the fix label Apr 30, 2025
@Mpdreamz Mpdreamz self-assigned this Apr 30, 2025
@Mpdreamz Mpdreamz changed the base branch from main to feature/limited-width-layout-2 April 30, 2025 13:20
@Mpdreamz Mpdreamz merged commit 8415fc8 into feature/limited-width-layout-2 Apr 30, 2025
13 of 14 checks passed
@Mpdreamz Mpdreamz deleted the feature/limited-width-layout-4 branch April 30, 2025 20:46
Mpdreamz added a commit that referenced this pull request May 1, 2025
* Full width layout PoC

* Also set max width for other elements

* Fixes and fine-tuning

* Cleanup

* Fix isolated build header position

* Formatting

* Prettier

* Limited max width PoC

* Use common resolution width

* Dynamic spacing for max-width layout

* ensure margins are dynamic again

* fix css lint

* Slight on this page margin adjustments (#1198)

* feature/limited width layout 4 (#1201)

* fixate max-width around max content-width

* npm fix lint

* Update src/Elastic.Markdown/Slices/_Layout.cshtml

Co-authored-by: Jan Calanog <[email protected]>

---------

Co-authored-by: Jan Calanog <[email protected]>

---------

Co-authored-by: Jan Calanog <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants