From 5d5fc33d2cb72f23210c319f08874118a8e5ab8b Mon Sep 17 00:00:00 2001 From: Djordje Vlaisavljevic Date: Mon, 26 Sep 2022 21:59:50 +0200 Subject: [PATCH] Updated MRR widget design refs https://github.com/TryGhost/Team/issues/1932 --- ghost/admin/app/styles/layouts/dashboard.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ghost/admin/app/styles/layouts/dashboard.css b/ghost/admin/app/styles/layouts/dashboard.css index b4b3a50743..aceef1321b 100644 --- a/ghost/admin/app/styles/layouts/dashboard.css +++ b/ghost/admin/app/styles/layouts/dashboard.css @@ -537,6 +537,10 @@ Dashboard Percentage */ color: var(--pink); } +.is-embedded .gh-dashboard-percentage { + margin: 5px 0 2px; +} + /* --------------------------------- Dashboard Metric */ @@ -634,7 +638,7 @@ Dashboard Metric */ .gh-dashboard-metric.is-embedded { background: #fff; z-index: 1; - margin-top: 4px; + margin-top: 6px; align-self: flex-start; padding: 8px 8px 8px 0; opacity: 1; @@ -642,6 +646,10 @@ Dashboard Metric */ min-height: 40px; } +.is-embedded .gh-dashboard-metric-value .value { + margin-right: 12px; +} + .gh-dashboard-metric.is-embedded h5 { display: none; }