mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
scroll .content, not body (otherwise if a custom background image is set the background is also scrolling)
This commit is contained in:
parent
4da84b0e30
commit
1a12c37eca
1 changed files with 9 additions and 0 deletions
|
@ -82,6 +82,9 @@ body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
top: 0;
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1:first-child,
|
h1:first-child,
|
||||||
|
@ -123,6 +126,12 @@ img {
|
||||||
padding: 2%;
|
padding: 2%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.logged .content {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
overflow: auto; /* scroll .content, not body for easier background customization */
|
||||||
|
}
|
||||||
|
|
||||||
.ynh-wrapper {
|
.ynh-wrapper {
|
||||||
width: 90%;
|
width: 90%;
|
||||||
margin: 2% 5%;
|
margin: 2% 5%;
|
||||||
|
|
Loading…
Reference in a new issue