mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
Admin mobile block: fix inline style beating media query
This commit is contained in:
@@ -349,8 +349,8 @@
|
||||
padding: var(--space-3xs);
|
||||
}
|
||||
|
||||
.admin-body main > table td.admin-ap-col,
|
||||
.admin-body main > table th.admin-ap-col {
|
||||
td.admin-ap-col,
|
||||
th.admin-ap-col {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@@ -1898,3 +1898,48 @@
|
||||
.fhb-inline-form {
|
||||
margin-top: var(--space-xs);
|
||||
}
|
||||
|
||||
/* ── Mobile: admin unavailable ─────────────────────────────────────────── */
|
||||
.admin-mobile-block {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 640px) {
|
||||
.admin-body header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.admin-body main {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.admin-mobile-block {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100vh;
|
||||
padding: var(--space-l);
|
||||
text-align: center;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.admin-mobile-block svg {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
fill: var(--text-tertiary);
|
||||
margin-bottom: var(--space-m);
|
||||
}
|
||||
|
||||
.admin-mobile-block h2 {
|
||||
font-size: var(--step-0);
|
||||
font-weight: 600;
|
||||
color: var(--text-primary);
|
||||
margin: 0 0 var(--space-xs);
|
||||
}
|
||||
|
||||
.admin-mobile-block p {
|
||||
font-size: var(--step--1);
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user