Skip to content

Commit 4dfe231

Browse files
committed
fix: different rems give diff header spacing
- has no effect on CMS (tested _in situ_) - has expected effect on Portal (tested in TACC/Core-Portal#1068)
1 parent 34b2882 commit 4dfe231

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/lib/_imports/trumps/s-header.css

+10
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,19 @@ Styleguide Trumps.Scopes.Header
170170

171171
/* Dropdown */
172172

173+
/* To ensure sizes match between clients with different rem value */
174+
/* FAQ: Bootstrap uses rem space values but CMS and Portal rem values differ */
173175
.s-header .dropdown-menu {
174176
font-size: 16px; /* NO-R/EM: 1rem (from Bootstrap via `.dropdown-menu`) */
175177
}
178+
/* - to match portal nav size */
179+
.s-header .dropdown-menu {
180+
padding-block: 5px;
181+
}
182+
.s-header .dropdown-item {
183+
padding-block: 2.5px;
184+
padding-inline: 15px;
185+
}
176186

177187
/* Icons */
178188

0 commit comments

Comments
 (0)