From 1329b7d91fb47287f38b8f063fc0cd8dabe60662 Mon Sep 17 00:00:00 2001 From: = Date: Thu, 18 Jun 2020 16:47:04 +0200 Subject: [PATCH] fix dashboard grid size --- Thermo.Active/wwwroot/assets/styles/base/dashboard.less | 5 +++-- Thermo.Active/wwwroot/assets/styles/style.css | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Thermo.Active/wwwroot/assets/styles/base/dashboard.less b/Thermo.Active/wwwroot/assets/styles/base/dashboard.less index 17e04683..797d4524 100644 --- a/Thermo.Active/wwwroot/assets/styles/base/dashboard.less +++ b/Thermo.Active/wwwroot/assets/styles/base/dashboard.less @@ -6,7 +6,7 @@ .dashboard { font-family: "Work Sans"; - height: 100%; + height: calc(~'100% - 60px'); width: 100%; background-image: url("../../assets/icons/png/bg.png"); position: fixed; @@ -15,7 +15,8 @@ grid-template-rows: 144px 1fr; grid-template-columns: 152px 1fr 610px 1fr 152px; grid-row-gap: 40px; - padding-top: 21px; + padding-top: 20px; + padding-bottom: 40px; color: #4b4b4b; header { diff --git a/Thermo.Active/wwwroot/assets/styles/style.css b/Thermo.Active/wwwroot/assets/styles/style.css index 6d8ff32c..78bdeecf 100644 --- a/Thermo.Active/wwwroot/assets/styles/style.css +++ b/Thermo.Active/wwwroot/assets/styles/style.css @@ -4103,7 +4103,7 @@ article .box .body { } .dashboard { font-family: "Work Sans"; - height: 100%; + height: calc(100% - 60px); width: 100%; background-image: url("../../assets/icons/png/bg.png"); position: fixed; @@ -4112,7 +4112,8 @@ article .box .body { grid-template-rows: 144px 1fr; grid-template-columns: 152px 1fr 610px 1fr 152px; grid-row-gap: 40px; - padding-top: 21px; + padding-top: 20px; + padding-bottom: 40px; color: #4b4b4b; } .dashboard header {