Skip to content

Commit 3ddeba6

Browse files
Reinstate sticky secondary navigation on patient session page (#3140)
Reinstate the sticky navigation variant (used on the patient session page) to the secondary navigation component, that was removed in #3102.
2 parents 4d4e6e3 + 4a4e0ca commit 3ddeba6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

app/assets/stylesheets/_secondary-navigation.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@
1111
}
1212
}
1313

14+
.app-secondary-navigation--sticky {
15+
background-color: $color_nhsuk-grey-5;
16+
position: sticky;
17+
top: 0;
18+
z-index: 99;
19+
}
20+
1421
.app-secondary-navigation__link {
1522
@include nhsuk-link-style-default;
1623
@include nhsuk-link-style-no-visited-state;

0 commit comments

Comments
 (0)