From ee5ea8cad0484c717c8ea037ad59a66bf95235bb Mon Sep 17 00:00:00 2001 From: Uwe Koloska Date: Mon, 10 Jul 2023 14:51:46 +0200 Subject: [PATCH] Use the height variables to fix the calculations using them --- business_theme_v14/public/css/business_theme_v14.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/business_theme_v14/public/css/business_theme_v14.css b/business_theme_v14/public/css/business_theme_v14.css index 477b01f..8531f52 100644 --- a/business_theme_v14/public/css/business_theme_v14.css +++ b/business_theme_v14/public/css/business_theme_v14.css @@ -142,6 +142,8 @@ input:focus{ --black-color: #000000; --gray-color: #888; + --page-head-height: 50px; + --navbar-height: 50px; } .btn-primary:active, .btn-secondary:focus, @@ -168,11 +170,11 @@ input:focus{ } */ .page-head, .page-head .page-head-content{ - height: 50px; + height: var(--page-head-height); } .page-head, .page-head .page-head-content{ - top: 50px; + top: var(--page-head-height); } @@ -180,7 +182,7 @@ input:focus{ /* Top Header */ .navbar{ background: var(--background-color) !important; - height: 50px; + height: var(--navbar-height); } .navbar-expand{ background-color: var(--background-color);