mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +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);
|
padding: var(--gap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 400px) {
|
||||||
|
.main {
|
||||||
|
min-height: calc(100vh - var(--header-height) - var(--footer-height) - 24px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.page-header {
|
.page-header {
|
||||||
margin-bottom: 24px;
|
margin-bottom: 24px;
|
||||||
}
|
}
|
||||||
@ -38,5 +44,4 @@
|
|||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
padding-left: 18px;
|
padding-left: 18px;
|
||||||
padding-right: 16px;
|
padding-right: 16px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user