Skip to content

Commit

Permalink
Use rems for Nav overlay left padding (#67168)
Browse files Browse the repository at this point in the history
Co-authored-by: getdave <[email protected]>
Co-authored-by: MaggieCabrera <[email protected]>
Co-authored-by: tysonlmao <[email protected]>
  • Loading branch information
4 people authored Nov 22, 2024
1 parent 58ae911 commit 81d2ee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/navigation/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ button.wp-block-navigation-item__content {
padding-top: clamp(1rem, var(--wp--style--root--padding-top), 20rem);
padding-right: clamp(1rem, var(--wp--style--root--padding-right), 20rem);
padding-bottom: clamp(1rem, var(--wp--style--root--padding-bottom), 20rem);
padding-left: clamp(1rem, var(--wp--style--root--padding-left), 20em);
padding-left: clamp(1rem, var(--wp--style--root--padding-left), 20rem);

// Allow modal to scroll.
overflow: auto;
Expand Down

0 comments on commit 81d2ee8

Please sign in to comment.