Commit 0061819
committed
Refactor rightmost navbar dropdown to use
Replaces the custom negative `left` pixel offset (`.is-enterprise`) with
the built-in `.is-right` CSS utility class for the rightmost navigation
dropdown.
Previously, a hardcoded offset was used to roughly center the rightmost
dropdown to prevent its large box-shadow from being clipped by the right
edge of the browser window. However, with the addition of the theme toggle
switch, there is now sufficient natural buffer space on the right side of
the navigation menu. This makes the custom offset unnecessary and allows
us to safely use the cleaner `.is-right` alignment without visual
clipping.
Closes gh-289.is-right
1 parent 3eb3bc7 commit 0061819
2 files changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | 351 | | |
356 | 352 | | |
357 | 353 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
0 commit comments