Updated MRR widget design

refs https://github.com/TryGhost/Team/issues/1932
This commit is contained in:
Djordje Vlaisavljevic 2022-09-26 21:59:50 +02:00
parent ac7d7427e9
commit 5d5fc33d2c

View File

@ -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;
}