1
0
mirror of https://github.com/flarum/core.git synced 2025-07-31 05:30:38 +02:00

Fix header contents moving when opening modal (#2131)

* add navbar-fixed-top css class

* App-header position:fixed
This commit is contained in:
w-4
2020-05-24 01:41:54 +07:00
committed by GitHub
parent c4f4f218bf
commit 4b6864534b
3 changed files with 3 additions and 7 deletions

View File

@@ -236,16 +236,12 @@
.App-header {
padding: 8px;
height: @header-height;
position: absolute;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: @zindex-header;
.affix & {
position: fixed;
}
& when (@config-colored-header = true) {
.light-contents(@header-color, @header-control-bg, @header-control-color);
}