Skip to content

Commit

Permalink
Merge pull request #35074 from dimagi/bmb/dashboard-rem-fixes
Browse files Browse the repository at this point in the history
fix dashboard icon top alignment and height of cards when base font size is scaled above normal size
  • Loading branch information
biyeun authored Sep 16, 2024
2 parents 513b32d + e72a2d5 commit 007adfb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ $card-dashboard-header-bg: $navbar-default-bg;

.dashboard-icon-bg {
position: absolute;
top: 57px;
top: 4.75 * $font-size-base;
left: 0;
width: 100%;
text-align: center;
Expand All @@ -58,7 +58,7 @@ $card-dashboard-header-bg: $navbar-default-bg;
}

.card-dashboard-medium {
height: 275px;
height: 22.9167 * $font-size-base;
position: relative;

.list-group {
Expand Down

0 comments on commit 007adfb

Please sign in to comment.