Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
13 changes: 13 additions & 0 deletions themes/osi/assets/scss/_6_components.mobile-menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,19 @@
width: 100%;
height: 100%;
overflow: visible;
// the pinned header below leaves the flow: hold its height so the browser
// does not clamp the scroll position when the menu opens near the page end
padding-bottom: $headerInnerHeight;
}

// the scroll lock above drops sticky positioning, which strands the header at
// its static offset: pin it so the logo row and close button stay on screen
.header-main {
position: fixed;
}

.admin-bar .header-main {
top: var(--wp-admin--admin-bar--height);
}

.header--inner {
Expand Down
7 changes: 7 additions & 0 deletions themes/osi/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading