3 ms·
On OSX Chrome, this page is always horizontally scrollable because the navbar is wider than the rest of the content by a margin of the vertical scrollbar's widt
by anonymoushn 6y ago
On OSX Chrome, this page is always horizontally scrollable because the navbar is wider than the rest of the content by a margin of the vertical scrollbar's width. You can set max-width: 100% on the navbar to fix this.
- vanderZwan 6y agoI suspect scrollbars are among the most underrated source of unexpected CSS bugs across different browsers/platforms. I never see anyone online complain about them, yet at work we constantly have to work our way around them.
- asaaki 6y agoThat's interesting. I'll have Mac access only next month. The setting `max-width: 100%` actually breaks the design completely, chopping it down to a half. I have to try this solution[1] to see if that helps to avoid the scrolling. [1] https://stackoverflow.com/a/56382662/653173 https://stackoverflow.com/a/56382662/653173