Page MenuHomeFreeBSD

Add max-width to the main container of the website
ClosedPublic

Authored by mail_janek.ooo on Sun, Jun 30, 1:31 PM.

Details

Summary

Adding max-width to the main container of the website makes it display better on large (wide) screens. Before this change, the website would stretch to the entire width of the screen. Since it was not designed for wide screens, this causes some layout and readability issues (e.g. nav bar /menu moves down and "leaves" its container and a lot of empty space is created between elements.

BeforeAfter
Screenshot 2024-06-30 at 15.31.54.png (3×6 px, 1 MB)
Screenshot 2024-06-30 at 15.32.04.png (1×3 px, 459 KB)

(please note: seems like the inline preview won't load for one or both of the images; but they should both work when clicked)

Diff Detail

Repository
R9 FreeBSD doc repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mail_janek.ooo created this revision.
mail_janek.ooo edited the summary of this revision. (Show Details)
mail_janek.ooo retitled this revision from Add max-width to the container to Add max-width to the main container of the website.
This revision is now accepted and ready to land.Mon, Jul 1, 10:17 AM
This revision was automatically updated to reflect the committed changes.

I've committed it in two commits by accident. It is all in the tree now. Sorry.