3 ms·
Per the sibling commits, you don't want to use "margin" to control width. Use margin to control spacing between elements / the edge of the screen. What you wa
by Izkata 2y ago
Per the sibling commits, you don't want to use "margin" to control width. Use margin to control spacing between elements / the edge of the screen. What you want here is to put "max-width" on the content.
Specifically I'd suggest:
* Change "margin" on the <p> tags to "1.5rem 0"
* Change "margin" on .blog-page to "1.5rem auto" to keep the grey background centered based on width
* Add "max-width: 800px" (or whatever) to .blog-page