scss: make last paragraph have no bottom padding
This commit is contained in:
parent
5c9d7ee5d0
commit
6bdd7ebcee
2 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||||
|
|
|
@ -81,6 +81,9 @@ a {
|
||||||
|
|
||||||
p {
|
p {
|
||||||
@include paragraph();
|
@include paragraph();
|
||||||
|
&:last-child {
|
||||||
|
padding-bottom:0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
|
|
Loading…
Reference in a new issue