scss: make last paragraph have no bottom padding

This commit is contained in:
Kazhnuz 2018-10-13 17:36:15 +02:00
parent 5c9d7ee5d0
commit 6bdd7ebcee
2 changed files with 5 additions and 0 deletions

View file

@ -60,6 +60,8 @@ p {
padding: 0; padding: 0;
padding-bottom: 1.5em; padding-bottom: 1.5em;
margin: 0; } margin: 0; }
p:last-child {
padding-bottom: 0; }
ul { ul {
padding: 0; padding: 0;

View file

@ -81,6 +81,9 @@ a {
p { p {
@include paragraph(); @include paragraph();
&:last-child {
padding-bottom:0;
}
} }
ul { ul {