Skip to content

Commit

Permalink
Added a style for non sticky lnav with a promo on ios (#3441)
Browse files Browse the repository at this point in the history
  • Loading branch information
sharmrj authored and bandana147 committed Jan 9, 2025
1 parent 68460c1 commit 73805c0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libs/blocks/global-navigation/global-navigation.css
Original file line number Diff line number Diff line change
Expand Up @@ -1196,6 +1196,10 @@ header.new-nav .feds-breadcrumbs li:first-child:not(:nth-last-child(-n+3)):after
max-height: calc(100dvh - (var(--global-height-nav) + var(--feds-localnav-height)));
}

.feds-localnav.has-promo.feds-localnav--active .feds-localnav-items {
max-height: calc(100dvh - (var(--global-height-nav) + var(--feds-localnav-height) + var(--global-height-navPromo)));
}

.feds-localnav.feds-localnav--active.is-sticky .feds-localnav-items {
max-height: calc(100dvh - var(--feds-localnav-height));
}
Expand Down

0 comments on commit 73805c0

Please sign in to comment.