mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-10-01 01:06:14 -04: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;
|
||||
}
|
||||
@ -38,5 +44,4 @@
|
||||
margin-left: auto;
|
||||
padding-left: 18px;
|
||||
padding-right: 16px;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user