Optional use of !Important in variables

This commit is contained in:
Lucas 2020-09-25 09:10:04 +07:00
parent 6f260e9b74
commit 15aecaa674
11 changed files with 57 additions and 46 deletions

View file

@ -54,7 +54,9 @@ article {
}
// Remove last-child margin bottom
> *:not(header):not(footer):not(pre):last-child {
margin-bottom: 0;
@if $enable-important {
> *:not(header):not(footer):not(pre):last-child {
margin-bottom: 0 !important;
}
}
}