mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-25 03:51:37 +01:00
fix unnecessary scroll on devices with lower width
making footer size bigger by 24px
This commit is contained in:
parent
2955f2a19d
commit
47bc2ee10d
@ -9,6 +9,12 @@
|
||||
padding: var(--gap);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 400px) {
|
||||
.main {
|
||||
min-height: calc(100vh - var(--header-height) - var(--footer-height) - 24px);
|
||||
}
|
||||
}
|
||||
|
||||
.page-header {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
@ -39,4 +45,3 @@
|
||||
padding-left: 18px;
|
||||
padding-right: 16px;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user