scroll .content, not body (otherwise if a custom background image is set the background is also scrolling)

This commit is contained in:
chateau 2019-03-20 00:42:53 +01:00
parent 4da84b0e30
commit 1a12c37eca

View file

@ -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%;