Skip to content

Conversation

@Mpdreamz
Copy link
Member

@Mpdreamz Mpdreamz commented Apr 29, 2025

cursorful-video-1746019180296.mp4

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 29, 2025 18:42
@Mpdreamz Mpdreamz self-assigned this Apr 29, 2025
@Mpdreamz Mpdreamz changed the base branch from main to feature/limited-width-layout April 29, 2025 18:45
@Mpdreamz Mpdreamz changed the title feature/limited width layout 2 Amend fixed/max width layout Apr 29, 2025
@reakaleek

This comment was marked as outdated.

Base automatically changed from feature/limited-width-layout to main April 29, 2025 21:04
Mpdreamz and others added 2 commits April 30, 2025 22:46
* 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]>
@Mpdreamz Mpdreamz changed the title Amend fixed/max width layout Dynamic max-width based on 90ch width for the content May 1, 2025
@Mpdreamz Mpdreamz merged commit a32602f into main May 1, 2025
14 checks passed
@Mpdreamz Mpdreamz deleted the feature/limited-width-layout-2 branch May 1, 2025 08:20
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