From 300cd79d3e99fa5c6e58a44016261069c3dfdf27 Mon Sep 17 00:00:00 2001 From: Peter Zimon Date: Tue, 3 May 2022 17:08:30 +0200 Subject: [PATCH] Updated Dashboard spacings --- .../app/components/dashboard/v5/resources/resources.hbs | 2 +- ghost/admin/app/styles/layouts/dashboard-v5.css | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ghost/admin/app/components/dashboard/v5/resources/resources.hbs b/ghost/admin/app/components/dashboard/v5/resources/resources.hbs index fe954e7f25..1c78fa87c2 100644 --- a/ghost/admin/app/components/dashboard/v5/resources/resources.hbs +++ b/ghost/admin/app/components/dashboard/v5/resources/resources.hbs @@ -2,7 +2,7 @@
{{#if (not (or this.loading this.error))}} - +
diff --git a/ghost/admin/app/styles/layouts/dashboard-v5.css b/ghost/admin/app/styles/layouts/dashboard-v5.css index fa16ef2a4d..7280fbaf63 100644 --- a/ghost/admin/app/styles/layouts/dashboard-v5.css +++ b/ghost/admin/app/styles/layouts/dashboard-v5.css @@ -279,7 +279,7 @@ Dashboard v5 Layout */ display: flex; flex-direction: column; align-items: flex-start; - justify-content: center + justify-content: flex-end; } .gh-dashboard5-legend-item { @@ -1621,12 +1621,13 @@ Dashboard v5 Tooltips */ top: 0; left: 0; background: var(--white); - border: 1px solid var(--whitegrey); - border-radius: 8px; + border-radius: 9px; padding: 12px; - box-shadow: 0 3px 12px rgba(0,0,0,0.12); + box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.07), 0px 85px 80px rgba(0, 0, 0, 0.07), 0px 35.511px 33.4221px rgba(0, 0, 0, 0.0503198), 0px 18.9859px 17.869px rgba(0, 0, 0, 0.0417275), 0px 10.6433px 10.0172px rgba(0, 0, 0, 0.035), 0px 5.65259px 5.32008px rgba(0, 0, 0, 0.0282725), 0px 2.35217px 2.21381px rgba(0, 0, 0, 0.0196802); + border-radius: 9px; z-index: 9999; pointer-events: none; + min-width: 80px; } .gh-dashboard5-tooltip .gh-dashboard5-metric-value {