logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 23c5627639620704b9768412ad13b30e5bc14409
parent 5775abb25cb69900f99197301a2dcf6d68fdcd70
Author: Henry Jameson <me@hjkos.com>
Date:   Thu, 28 Apr 2022 10:57:06 +0300

sort and optimize panel.scss

Diffstat:

Msrc/panel.scss30+++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/src/panel.scss b/src/panel.scss @@ -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); -}