Skip to content

Commit

Permalink
Use fixed positioning for .banner
Browse files Browse the repository at this point in the history
Prevent the banner from moving relative to the .panel__tray when
overscrolling.
  • Loading branch information
p8 committed Sep 25, 2023
1 parent 6f393ab commit 2bfc59d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/rdoc/generator/template/rails/resources/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ html {
.banner {
height: var(--banner-height);
background-color: var(--brand-color);
position: fixed;
width: inherit;
}

.banner__segment {
Expand Down

0 comments on commit 2bfc59d

Please sign in to comment.