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,13 +25,23 @@
}
}
.panel-body:empty::before {
.panel-body {
padding: var(--panel-body-padding, 0);
&:empty::before {
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-footer {
--panel-heading-height-padding: 0.6em;
@ -186,13 +196,3 @@
border-style: solid;
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);
}