Skip to content

Commit 283c324

Browse files
committed
Ensure footer remains position fixed when navigating regions
1 parent 818b280 commit 283c324

File tree

1 file changed

+7
-0
lines changed
  • packages/interface/src/components/interface-skeleton

1 file changed

+7
-0
lines changed

packages/interface/src/components/interface-skeleton/style.scss

+7
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,13 @@ html.interface-interface-skeleton__html-container {
148148
background-color: $white;
149149
z-index: z-index(".interface-interface-skeleton__footer");
150150

151+
// When the navigate regions shortcut is used it applies position: relative
152+
// to regions. The footer should always stay stuck to the bottom though, so
153+
// override using a more specific selector with position: fixed.
154+
.is-focusing-regions &[role="region"] {
155+
position: fixed;
156+
}
157+
151158
// On Mobile the footer is hidden
152159
display: none;
153160
@include break-medium() {

0 commit comments

Comments
 (0)