Skip to content

Sizing for Masthead and Sidebar #654

Answered by katieporter
hharnisc asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @hharnisc! I was just thinking about this after you asked your question about the heights and widths in Slack...a couple of initial thoughts:

  • On the topmast and the collapsed sidenav, you should be able to compose those without setting fixed widths/heights, and instead rely on the content inside them plus appropriate padding to get you to the height outlined in the designs (e.g. for the topmast, the tallest components inside it are 36px tall, plus 20px of padding on the top and bottom using the space-60 sizing token will get you to the desired 76px).
  • The sidenav is trickier...but we might be able to get get there using existing tokens. Essentially, I think you might be able to use the

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@SiTaggart
Comment options

@katieporter
Comment options

@SiTaggart
Comment options

@hharnisc
Comment options

Answer selected by corinne-nagel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants