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:
@@ -3618,4 +3618,27 @@
|
||||
min-height: auto;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
/* Git Manager remote edit buttons: always visible on mobile (no hover) */
|
||||
.gm-remote-edit-btn {
|
||||
opacity: 1;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
margin-right: -8px;
|
||||
margin-top: -8px;
|
||||
margin-bottom: -8px;
|
||||
border-radius: var(--radius-md);
|
||||
}
|
||||
|
||||
.gm-remote-edit-btn svg {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
/* Touch targets for git manager icon buttons and activity log clear */
|
||||
.gm-icon-btn,
|
||||
.activity-log-clear {
|
||||
min-width: 36px;
|
||||
min-height: 36px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user