fix: spacing

This commit is contained in:
Damillora 2021-07-11 04:32:15 +07:00
parent 12329cb4a8
commit 08284c78ce
3 changed files with 7 additions and 3 deletions

View File

@ -38,7 +38,9 @@ body {
} }
.main { .main {
padding: 1rem; margin: 1rem;
@include px(1rem);
@include screen(sm) { @include screen(sm) {
@include px(2rem); @include px(2rem);
} }

View File

@ -1,7 +1,7 @@
.post-header { .post-header {
width: 100%; width: 100%;
padding-top: 3rem; margin-top: 3rem;
padding-bottom: 1rem; margin-bottom: 1rem;
&__heading { &__heading {
@include my(0.5rem); @include my(0.5rem);
@ -109,6 +109,7 @@
position: absolute; position: absolute;
bottom: 1rem; bottom: 1rem;
box-shadow: 0px 0px 4px 1px var(--accent-color); box-shadow: 0px 0px 4px 1px var(--accent-color);
z-index: 120;
@include transition; @include transition;
@include screen(md) { @include screen(md) {

View File

@ -31,6 +31,7 @@
position: absolute; position: absolute;
bottom: 2rem; bottom: 2rem;
box-shadow: 0px 0px 4px 1px var(--accent-color); box-shadow: 0px 0px 4px 1px var(--accent-color);
z-index: 120;
@include transition; @include transition;
@include screen(md) { @include screen(md) {