mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
Let mobile header be fixed (#21847).
Patch by Felix Gliesche. git-svn-id: http://svn.redmine.org/redmine/trunk@15204 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
aeea7f7e23
commit
38524f5177
@ -94,6 +94,8 @@
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
border: none;
|
border: none;
|
||||||
background-color: #628db6;
|
background-color: #628db6;
|
||||||
|
position: fixed;
|
||||||
|
z-index: 9999;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hide project name on mobile (project name is still visible in select menu) */
|
/* Hide project name on mobile (project name is still visible in select menu) */
|
||||||
@ -188,7 +190,7 @@
|
|||||||
\*----------------------------------------*/
|
\*----------------------------------------*/
|
||||||
|
|
||||||
#main {
|
#main {
|
||||||
padding: 0;
|
padding: 64px 0 0; /* padding-top equals header height */
|
||||||
}
|
}
|
||||||
|
|
||||||
#main.nosidebar #content,
|
#main.nosidebar #content,
|
||||||
@ -525,8 +527,11 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.flyout-is-active #wrapper, .flyout-is-active #header {
|
||||||
|
right: 250px; /* when left flyout is active, move body and header to the right (same amount like flyout-menu's width) */
|
||||||
|
}
|
||||||
|
|
||||||
.flyout-is-active #wrapper {
|
.flyout-is-active #wrapper {
|
||||||
right: 250px; /* when left flyout is active, move body to the right (same amount like flyout-menu's width) */
|
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user