Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/usa-nav/src/styles/_usa-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -475,12 +475,12 @@ $expand-less-icon: map-merge(
}

// Safari-only fix that forces a vertical scrollbar when mobile menu is open.
// Only needed in the 15px immediately preceding $theme-header-max-width.
// Only needed in the 15px immediately preceding $theme-header-min-width.
//
// Note: 15px is the current width of the Safari scrollbar.
// More details in https://github.com/uswds/uswds/pull/5443
$safari-header-bug-min-width: calc(
units($theme-header-max-width) - px-to-rem(15px)
units($theme-header-min-width) - px-to-rem(15px)
);

@media (min-width: $safari-header-bug-min-width) {
Expand Down