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) {
margin-left: 1%;
padding-top: 50px;
padding-top: var(--main-top-padding);
}
}
@ -117,16 +117,15 @@
.sidebar {
.widget {
&:not(:last-of-type) {
margin-bottom: var(--section-separation);
&:after {
content: "";
width: 100px;
height: 2px;
background-color: var(--body-text-color);
display: block;
margin-top: var(--section-separation);
}
margin-bottom: var(--section-separation);
&:not(:last-of-type):after {
content: "";
width: 100px;
height: 2px;
background-color: var(--body-text-color);
display: block;
margin-top: var(--section-separation);
}
}
}