From 63ae03b4c9f38b915f86f4231b78740606d53b91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Tue, 23 May 2023 09:13:32 -0400 Subject: [PATCH] feat: add hidden-empty utility --- public/scss/generics.scss | 6 ++++++ 1 file changed, 6 insertions(+) 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;