Skip to content

Commit 8eaeddc

Browse files
committed
fix(ui): use spacing token for nav link padding
Replace hardcoded 12px with var(--flex-space-sm) to stay on the design system's spacing scale.
1 parent 7467b66 commit 8eaeddc

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
@@ -386,7 +386,7 @@ flex-header {
386386
.flex-header__nav-link {
387387
display: block;
388388
block-size: auto;
389-
padding: 12px 0;
389+
padding: var(--flex-space-sm) 0;
390390
}
391391

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

0 commit comments

Comments
 (0)