Skip to content

Commit ee8ffeb

Browse files
committed
fix(ui): align mobile nav menu items with divider lines
The mobile nav panel has padding: 1rem, but nav links added an additional padding-inline: 1rem, causing link text to be inset from the border separator lines between items. Remove the redundant inline padding so text aligns flush with the dividers.
1 parent e60c73d commit ee8ffeb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/design-system/components/flex-header

src/design-system/components/flex-header/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ flex-header {
380380

381381
.flex-header__nav-link {
382382
padding-block: 0.75rem;
383-
padding-inline: 1rem;
383+
padding-inline: 0;
384384
}
385385

386386
.flex-header__nav-link--current::after,

0 commit comments

Comments
 (0)