You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix: (posts, shortcuts) Adjust width, padding for narrower screens (#402)
* Tidy: Consolidate .content-container rules
* Comment: Add FIXME
* Fix: (_base.scss) PRE wrapping and breaking
This solves a very non-obvious problem in that a single PRE element
that happens to have a long line or long words, even when the OVERFLOW
property is set to constrain the element, can cause the whole page
layout to break, even when using FLEX, because the browser seems to
use the ideal width of the element (as if there were enough screen
width to display it without any overflow or wrapping) to calculate
minimum width of the parent elements rather than the constrained width
of the element.
* Fix: .content-container and #shortcuts-container flexing
After solving the issue with the PRE wrapping and breaking, which was
obscuring the problem, these remaining fixes are straightforward.
* Simplify shortcuts layout using flex and breakpoints
* Allow code cells overflowing into parent
Remove media selector that flows shortcuts to bottom, since we hide
shortcuts at the same time.
* Undo changes to pst
* Fix blog responsive layout
---------
Co-authored-by: Stefan van der Walt <stefanv@berkeley.edu>
0 commit comments