mirror of
https://github.com/flarum/core.git
synced 2025-07-30 21:20:24 +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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user