This commit is contained in:
1 parent
f8c05d9e90
commit
2593fd67dc
1 file changed
+4
@@ -1181,8 +1181,12 @@
|
|||||||
padding: 0.75rem 1rem;
|
padding: 0.75rem 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* top is pinned explicitly: with it unset, the button's static-position offset is
|
||||||
|
recomputed from the flex-wrap layout, which changes height once .sc-nav wraps onto
|
||||||
|
its own row on open - so the button visibly jumps vertically on click. */
|
||||||
.sc-mobile-menu-button {
|
.sc-mobile-menu-button {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
top: 0.75rem;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
display: grid;
|
display: grid;
|
||||||
order: 3;
|
order: 3;
|
||||||
|
|||||||
Reference in new issue
Block a user