fix: center mobile menu button in header
This commit is contained in:
1 parent
61bed33c8a
commit
5ebaafc113
2 files changed
+10
-4
No files matched your search
@@ -811,12 +811,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.sc-mobile-menu-button {
|
.sc-mobile-menu-button {
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
display: grid;
|
display: grid;
|
||||||
order: 3;
|
order: 3;
|
||||||
width: 2.25rem;
|
width: 2.25rem;
|
||||||
height: 2.25rem;
|
height: 2.25rem;
|
||||||
margin-left: auto;
|
margin-left: 0;
|
||||||
place-items: center;
|
place-items: center;
|
||||||
|
transform: translateX(-50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.sc-nav {
|
.sc-nav {
|
||||||
@@ -837,7 +840,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.sc-header-actions {
|
.sc-header-actions {
|
||||||
margin-left: 0;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sc-profile-button {
|
.sc-profile-button {
|
||||||
|
|||||||
+5
-2
@@ -564,12 +564,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.sc-mobile-menu-button {
|
.sc-mobile-menu-button {
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
display: grid;
|
display: grid;
|
||||||
order: 3;
|
order: 3;
|
||||||
width: 2.25rem;
|
width: 2.25rem;
|
||||||
height: 2.25rem;
|
height: 2.25rem;
|
||||||
margin-left: auto;
|
margin-left: 0;
|
||||||
place-items: center;
|
place-items: center;
|
||||||
|
transform: translateX(-50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.sc-nav {
|
.sc-nav {
|
||||||
@@ -590,7 +593,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.sc-header-actions {
|
.sc-header-actions {
|
||||||
margin-left: 0;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sc-profile-button {
|
.sc-profile-button {
|
||||||
|
|||||||
Reference in new issue
Block a user