mirror of
https://github.com/flarum/framework.git
synced 2025-02-11 07:24:00 +08:00
Fix header contents moving when opening modal (#2131)
* add navbar-fixed-top css class * App-header position:fixed
This commit is contained in:
parent
12aad66049
commit
c6fc8a8cd6
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
<div id="drawer" class="App-drawer">
|
||||
|
||||
<header id="header" class="App-header">
|
||||
<header id="header" class="App-header navbar-fixed-top">
|
||||
<div id="header-navigation" class="Header-navigation"></div>
|
||||
<div class="container">
|
||||
<h1 class="Header-title">
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
<div id="drawer" class="App-drawer">
|
||||
|
||||
<header id="header" class="App-header">
|
||||
<header id="header" class="App-header navbar-fixed-top">
|
||||
<div id="header-navigation" class="Header-navigation"></div>
|
||||
<div class="container">
|
||||
<h1 class="Header-title">
|
||||
|
|
Loading…
Reference in New Issue
Block a user