sort and optimize panel.scss

This commit is contained in:
Henry Jameson 2022-04-28 10:57:06 +03:00
parent 5775abb25c
commit 23c5627639

View file

@ -25,11 +25,21 @@
} }
} }
.panel-body:empty::before { .panel-body {
content: "¯\\_(ツ)_/¯"; // Could use words but it'd require translations padding: var(--panel-body-padding, 0);
display: block;
margin: 1em; &:empty::before {
text-align: center; content: "¯\\_(ツ)_/¯"; // Could use words but it'd require translations
display: block;
margin: 1em;
text-align: center;
}
> p {
line-height: 1.3;
padding: 1em;
margin: 0;
}
} }
.panel-heading, .panel-heading,
@ -186,13 +196,3 @@
border-style: solid; border-style: solid;
border-color: var(--border, $fallback--border); border-color: var(--border, $fallback--border);
} }
.panel-body > p {
line-height: 1.3;
padding: 1em;
margin: 0;
}
.panel-body {
padding: var(--panel-body-padding, 0);
}