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
Every LI in the menu is 89 pixels wide, with no margin or padding, which worked out fine for the existing menu items, but not for "Pinned Laws," in the above view. Apply some left padding to space them out equally, taking care to only do so in this particular responsive view.
What's your geometry here? I'm not seeing this specific issue on any of the stock Chrome-emulation devices – it's correctly bumping to the vertical list by the time it gets this tiny.
Ah wait, it's not smaller devices, it's only wide ones. And it gets worse – this layout was never designed to handle a fourth icon. The easiest solution here is to push the menu breakpoint even further up, so there's plenty of room.
I am not in love with this solution I just pushed. It basically punts and pushes the tablet size up to 1280px, so smaller lap/desktops will get the tablet size instead. The header code has become spaghetti over time, so it's really hard for me to even start to unravel all the places it touches, so doing this piecemeal was a no-go; I just changed the variable in Keanu (the breakpoint library we use) instead. It'll do, but it's ugly. We should redo this whole thing at some point.
Activity
krusynth commentedon Apr 23, 2017
What's your geometry here? I'm not seeing this specific issue on any of the stock Chrome-emulation devices – it's correctly bumping to the vertical list by the time it gets this tiny.
krusynth commentedon Apr 23, 2017
Ah wait, it's not smaller devices, it's only wide ones. And it gets worse – this layout was never designed to handle a fourth icon. The easiest solution here is to push the menu breakpoint even further up, so there's plenty of room.
(In addition to making the
lis wider.)krusynth commentedon Apr 23, 2017
(This is a job for Flexbox but I am so not redoing the whole menu right before 1.0 drops.)
Change breakpoint of header. Add room for icons. Fixes #713
Fix up homepage content for new widths. #713.
krusynth commentedon Apr 23, 2017
I am not in love with this solution I just pushed. It basically punts and pushes the tablet size up to 1280px, so smaller lap/desktops will get the tablet size instead. The header code has become spaghetti over time, so it's really hard for me to even start to unravel all the places it touches, so doing this piecemeal was a no-go; I just changed the variable in
Keanu(the breakpoint library we use) instead. It'll do, but it's ugly. We should redo this whole thing at some point.