mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-15 18:59:33 +01:00
fix: allow font controls to be shown on mobile when enabled
- Remove display:none from mobile CSS for font controls - Let JS control visibility based on user setting - Add compact styling for font controls on tablet/phone Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
29916f4202
commit
b62ae9e42f
3 files changed
+23
-6
No files matched your search
@@ -7822,9 +7822,15 @@ kbd {
|
||||
margin-top: calc(54px + var(--safe-area-top));
|
||||
}
|
||||
|
||||
/* Hide some header elements on tablet for more space */
|
||||
/* Font controls - smaller on tablet, visibility controlled by JS */
|
||||
.header-font-controls {
|
||||
display: none;
|
||||
gap: 0.15rem;
|
||||
padding: 0.15rem 0.25rem;
|
||||
}
|
||||
|
||||
.header-font-controls .btn-icon-sm {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
.header-system-stats {
|
||||
@@ -7913,9 +7919,20 @@ kbd {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Hide font controls on phones */
|
||||
/* Font controls - compact on phones, visibility controlled by JS */
|
||||
.header-font-controls {
|
||||
display: none;
|
||||
gap: 0.1rem;
|
||||
padding: 0.1rem 0.2rem;
|
||||
}
|
||||
|
||||
.header-font-controls .btn-icon-sm {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.header-font-controls .font-size-display {
|
||||
font-size: 0.6rem;
|
||||
min-width: 14px;
|
||||
}
|
||||
|
||||
/* Hide system stats on phones */
|
||||
|
||||
Reference in new issue
Block a user