Keep admin tabs in one row
This commit is contained in:
@@ -1476,7 +1476,7 @@ body.menu-open {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr) auto;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
gap: clamp(0.45rem, 1.2vw, 1rem);
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
||||
background: rgba(5, 5, 5, 0.88);
|
||||
padding: 0.65rem var(--admin-page-x);
|
||||
@@ -1490,19 +1490,19 @@ body.menu-open {
|
||||
.admin-profile-button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
gap: clamp(0.45rem, 0.8vw, 0.75rem);
|
||||
border: 1px solid rgba(255, 255, 255, 0.13);
|
||||
border-radius: 8px;
|
||||
background: rgba(255, 255, 255, 0.055);
|
||||
padding: 0.55rem 0.7rem;
|
||||
padding: 0.55rem clamp(0.5rem, 0.8vw, 0.7rem);
|
||||
color: white;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.admin-avatar {
|
||||
display: grid;
|
||||
width: 2.25rem;
|
||||
height: 2.25rem;
|
||||
width: clamp(1.9rem, 2.4vw, 2.25rem);
|
||||
height: clamp(1.9rem, 2.4vw, 2.25rem);
|
||||
place-items: center;
|
||||
border: 1px solid rgba(255, 255, 255, 0.16);
|
||||
border-radius: 999px;
|
||||
@@ -1517,14 +1517,14 @@ body.menu-open {
|
||||
}
|
||||
|
||||
.admin-profile-text strong {
|
||||
font-size: 0.82rem;
|
||||
font-size: clamp(0.68rem, 0.9vw, 0.82rem);
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.admin-profile-text small {
|
||||
color: rgba(255, 255, 255, 0.48);
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
||||
font-size: 0.68rem;
|
||||
font-size: clamp(0.58rem, 0.75vw, 0.68rem);
|
||||
}
|
||||
|
||||
.admin-profile-menu {
|
||||
@@ -1586,8 +1586,9 @@ body.menu-open {
|
||||
|
||||
.admin-tabbar {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(5, minmax(0, 1fr));
|
||||
gap: 0.5rem;
|
||||
grid-auto-flow: column;
|
||||
grid-auto-columns: minmax(0, 1fr);
|
||||
gap: clamp(0.22rem, 0.7vw, 0.5rem);
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
@@ -1616,10 +1617,10 @@ body.menu-open {
|
||||
}
|
||||
|
||||
.desktop-admin-tabbar .admin-tab {
|
||||
gap: 0.42rem;
|
||||
padding: 0.64rem 0.5rem;
|
||||
font-size: 0.62rem;
|
||||
letter-spacing: 0.1em;
|
||||
gap: clamp(0.22rem, 0.5vw, 0.42rem);
|
||||
padding: 0.62rem clamp(0.28rem, 0.7vw, 0.5rem);
|
||||
font-size: clamp(0.5rem, 0.75vw, 0.62rem);
|
||||
letter-spacing: clamp(0.055em, 0.15vw, 0.1em);
|
||||
}
|
||||
|
||||
.admin-tab svg {
|
||||
|
||||
Reference in New Issue
Block a user