From d7c3e488197d3d96483c44029c0930e2de5afb47 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Thu, 27 Jul 2023 13:23:49 +0530 Subject: [PATCH] style: hide p if it is empty --- frappe/templates/styles/card_style.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frappe/templates/styles/card_style.css b/frappe/templates/styles/card_style.css index a9639d8133..96898847d2 100644 --- a/frappe/templates/styles/card_style.css +++ b/frappe/templates/styles/card_style.css @@ -75,6 +75,10 @@ button#update { margin-top: 30px; } +.page-card p:empty { + display: none; +} + .page-card p { font-size: 14px; }