Skip to content
This repository was archived by the owner on Mar 21, 2023. It is now read-only.

List: Add prop for line-height #251

Open
sarahmonster opened this issue Feb 16, 2021 · 0 comments
Open

List: Add prop for line-height #251

sarahmonster opened this issue Feb 16, 2021 · 0 comments
Assignees
Labels
List 🛠 2. Function The Legos of design: components, patterns, layouts. Basically anything that's a React component.

Comments

@sarahmonster
Copy link
Member

We may want to give the option for different line-heights (possibly for other text elements as well?)

Right now, there's a 1.6rem margin at the bottom of each list element, which works well when list items span more than one line, but can feel excessive when list items are shorter.

It would be good to provide a theme-configurable prop for this, something like: spacing: tight or line-height: tight.

@sarahmonster sarahmonster added the 🛠 2. Function The Legos of design: components, patterns, layouts. Basically anything that's a React component. label Feb 16, 2021
@sarahmonster sarahmonster self-assigned this Feb 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
List 🛠 2. Function The Legos of design: components, patterns, layouts. Basically anything that's a React component.
Projects
None yet
Development

No branches or pull requests

1 participant