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 {
content: "¯\\_(ツ)_/¯"; // Could use words but it'd require translations
display: block;
margin: 1em;
text-align: center;
.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,
@ -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);
}