- Remove duplicate home link in mobile nav - Remove overflow-hidden clipping main content - Improve mobile menu scrolling and spacing - Make top-header currencies wrap on small screens - Reduce site-header height on mobile - Add global mobile CSS overrides for tables, padding, fonts
This commit is contained in:
1 parent
bef458dbf8
commit
eba61d2fb9
6 files changed
+61
-10
No files matched your search
@@ -970,3 +970,54 @@ tbody tr:hover {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
/* ── Mobile responsive overrides ──────────────────────────── */
|
||||
@media (max-width: 48rem) {
|
||||
h1 {
|
||||
font-size: clamp(1.25rem, 5vw, var(--size-heading-h1, 30px));
|
||||
}
|
||||
h2 {
|
||||
font-size: clamp(1.1rem, 4vw, var(--size-heading-h2, 22px));
|
||||
}
|
||||
.hero {
|
||||
padding: 1.25rem 1rem;
|
||||
}
|
||||
.card {
|
||||
padding: 0.85rem 1rem;
|
||||
}
|
||||
.admin-card {
|
||||
padding: 0.85rem;
|
||||
}
|
||||
.admin-filter-bar input,
|
||||
.admin-filter-bar select {
|
||||
min-width: 140px;
|
||||
}
|
||||
.admin-page td,
|
||||
.admin-page th {
|
||||
white-space: nowrap;
|
||||
padding: 0.5rem 0.6rem;
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
.stat-grid {
|
||||
grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
|
||||
}
|
||||
.btn {
|
||||
font-size: 13px;
|
||||
padding: 0.4rem 0.85rem;
|
||||
}
|
||||
.content-card-head {
|
||||
padding: 0.7rem 0.85rem;
|
||||
}
|
||||
.content-card-body {
|
||||
padding: 0.85rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* make tables scroll on small screens */
|
||||
@media (max-width: 640px) {
|
||||
table {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user