Skip to content

Commit

Permalink
1674: Fix jumping navbar when scrolled
Browse files Browse the repository at this point in the history
  • Loading branch information
yepzdk committed Jan 14, 2025
1 parent 3e08c4c commit 8ebc2ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions web/themes/custom/hoeringsportal/assets/css/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ body {
background: $gray-100;
word-wrap: break-word;
letter-spacing: .05em;
padding-top: 96px;
}

h1, h2, h3, h4, h5, legend {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* @see template_preprocess_region()
*/
#}
<div class="d-flex flex-column sticky-top">
<div class="d-flex flex-column fixed-top">
<nav class="navbar navbar-expand-md navbar-light bg-white">
<div class="container">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#block-navigation" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
Expand Down

0 comments on commit 8ebc2ce

Please sign in to comment.