Skip to content

Node.js based forum software built for the modern web

feat: add hidden-empty utility

Barış Soner Uşaklı63ae03b4c9f3
diff --git a/public/scss/generics.scss b/public/scss/generics.scss
index 39c585bee4..3b28362c71 100644
--- a/public/scss/generics.scss
+++ b/public/scss/generics.scss
@@ -131,6 +131,12 @@ blockquote {
border-color: $text-muted!important;
}
+.hidden-empty {
+ &:empty {
+ display: none!important;
+ }
+}
+
// some classes that are used commonly in themes from bs3
.hidden, .hide {
display: none!important;