description |
---|
It makes sense to give some elements a fixed width that’s optimized for its contents. |
If you make the screen wider the sidebar gets wider too, taking up space that could’ve been put to better use by the main content area. If you make the screen narrower, the sidebar can shrink below its minimum reasonable width, causing awkward text wrapping or truncation.