fix(widgets): add margin bottom for last widget

This commit is contained in:
Jimmy Cai 2020-09-25 23:19:21 +02:00
parent 0e8083e7d0
commit 12578a5769
No known key found for this signature in database
GPG Key ID: 3EA408E527F37B18

View File

@ -42,7 +42,7 @@
@media (min-width: $on-tablet) { @media (min-width: $on-tablet) {
margin-left: 1%; margin-left: 1%;
padding-top: 50px; padding-top: var(--main-top-padding);
} }
} }
@ -117,9 +117,9 @@
.sidebar { .sidebar {
.widget { .widget {
&:not(:last-of-type) {
margin-bottom: var(--section-separation); margin-bottom: var(--section-separation);
&:after {
&:not(:last-of-type):after {
content: ""; content: "";
width: 100px; width: 100px;
height: 2px; height: 2px;
@ -128,5 +128,4 @@
margin-top: var(--section-separation); margin-top: var(--section-separation);
} }
} }
}
} }