Skip to content

Commit

Permalink
[docs] Use reasonable unitless line-height for Box (#19260)
Browse files Browse the repository at this point in the history
  • Loading branch information
minikomi authored and eps1lon committed Jan 16, 2020
1 parent bb3a8aa commit c9d19a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/src/pages/system/typography/LineHeight.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export default function LineHeight() {
<Box lineHeight="normal" m={1}>
Normal height.
</Box>
<Box lineHeight={10} m={1}>
10 px.
<Box lineHeight={2} m={1}>
line-height: 2
</Box>
</Typography>
);
Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/system/typography/LineHeight.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export default function LineHeight() {
<Box lineHeight="normal" m={1}>
Normal height.
</Box>
<Box lineHeight={10} m={1}>
10 px.
<Box lineHeight={2} m={1}>
line-height: 2
</Box>
</Typography>
);
Expand Down

0 comments on commit c9d19a8

Please sign in to comment.