refactor(dashboard): extract component-specific mobile rules from styles.css
Sweep 1 of the styles.css split. Rules where the desktop counterpart already lived in a component CSS file have been moved out of the global mobile @media block in styles.css and appended to the matching component file's mobile block. styles.css 4551 → 4488. Affected components: Header, AgentsView, DocumentsView, ListView, QuickChatFAB, QuickEntryBox, ScriptsModal, TaskDetailModal, TerminalModal, WorkflowResultsTab. Truly global mobile rules (input font-size for iOS auto-zoom, html/body overflow, root safe-area padding, base .btn touch targets, bare element selectors) intentionally stay in styles.css. The remaining bulk of the mobile block (settings, auth, board/card, inline-create) cannot move yet because their desktop rules are still in styles.css — those will fall out as part of the cards and settings extraction sweeps. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -480,4 +480,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
/* Quick entry toggle: touch target on mobile */
|
||||
.quick-entry-toggle {
|
||||
min-width: 36px;
|
||||
min-height: 36px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user