Skip to content

Commit

Permalink
also fix fouc and search overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzmg committed Aug 14, 2024
1 parent 65b47d6 commit df2d206
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion page/static/css/theme-contao.css
Original file line number Diff line number Diff line change
Expand Up @@ -970,6 +970,18 @@ html[data-theme=dark] #toc-menu,
}

/* contao.org Top Navigation */
body:before {
content: '';
background-color: #222;
display: block;
position: fixed;
left: 0;
top: 0;
right: 0;
height: var(--NETWORK-BAR-HEIGHT);
z-index: 100;
}

#contao-network {
left: 0;
top: 0;
Expand All @@ -979,7 +991,8 @@ html[data-theme=dark] #toc-menu,
}

#sidebar,
#body {
#body,
.DocSearch-Container {
margin-top: var(--NETWORK-BAR-HEIGHT);
}

Expand Down

0 comments on commit df2d206

Please sign in to comment.