Skip to content

Pinned Laws menu item is spaced wrong #713

Closed

Description

@waldoj

pinned

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.

Activity

  1. added this to the 1.0 milestone on Apr 23, 2017
  2. krusynth commented on Apr 23, 2017

    @krusynth
    Member

    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.

  3. krusynth commented on Apr 23, 2017

    @krusynth
    Member

    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.

    screen shot 2017-04-23 at 11 29 44 am

    (In addition to making the lis wider.)

  4. krusynth commented on Apr 23, 2017

    @krusynth
    Member

    (This is a job for Flexbox but I am so not redoing the whole menu right before 1.0 drops.)

  5. added 2 commits that reference this issue on Apr 23, 2017
    67c6149
    022358f
  6. krusynth commented on Apr 23, 2017

    @krusynth
    Member

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions