- {/* Draggable title bar overlay for Electron - always on top, even above modals */}
+ {/* Draggable title bar overlay for Electron */}
{isElectron && (
- {/* Draggable title bar region for Electron - main content area */}
+
{isElectron && (
)}
{location.pathname.startsWith('/chat') ? (
{children}
) : (
-
{children}
+
{children}
)}
diff --git a/apps/web/src/components/TaskCard.tsx b/apps/web/src/components/TaskCard.tsx
index a9787ad..08fa9e7 100644
--- a/apps/web/src/components/TaskCard.tsx
+++ b/apps/web/src/components/TaskCard.tsx
@@ -176,7 +176,7 @@ export default function TaskCard({ todo, showDragHandle = true, onToggleComplete
type="text"
value={editedContent}
onChange={(e) => setEditedContent(e.target.value)}
- className="w-full px-3 py-2 bg-gray-800 border border-gray-600 rounded text-sm text-gray-200 focus:outline-none focus:border-accent-highlight"
+ className="input-edit"
autoFocus
onKeyDown={(e) => {
if (e.key === 'Enter') {
@@ -198,7 +198,7 @@ export default function TaskCard({ todo, showDragHandle = true, onToggleComplete
}
setIsEditingContent(false);
}}
- className="flex items-center gap-1 px-3 py-1 bg-green-600 hover:bg-green-700 text-white text-xs rounded transition-colors"
+ className="btn-save"
>
Save
@@ -208,7 +208,7 @@ export default function TaskCard({ todo, showDragHandle = true, onToggleComplete
setEditedContent(todo.content);
setIsEditingContent(false);
}}
- className="flex items-center gap-1 px-3 py-1 bg-gray-700 hover:bg-gray-600 text-gray-200 text-xs rounded transition-colors"
+ className="btn-cancel"
>
Cancel
@@ -226,7 +226,7 @@ export default function TaskCard({ todo, showDragHandle = true, onToggleComplete
{/* Tooltip for feedback text */}
{todo.feedbackVote === 'thumbs_down' && todo.feedbackText && !showFeedbackInput && (
-
+
{todo.feedbackText}
)}
@@ -311,7 +311,7 @@ export default function TaskCard({ todo, showDragHandle = true, onToggleComplete
onChange={(e) => setFeedbackText(e.target.value.slice(0, 100))}
placeholder="What went wrong? (optional, ESC to cancel)"
maxLength={100}
- className="flex-1 px-3 py-1.5 bg-gray-800 border border-gray-600 rounded text-sm text-gray-200 focus:outline-none focus:border-red-500 placeholder-gray-500"
+ className="feedback-input"
autoFocus
onKeyDown={(e) => {
if (e.key === 'Enter') {
@@ -333,7 +333,7 @@ export default function TaskCard({ todo, showDragHandle = true, onToggleComplete
}
setShowFeedbackInput(false);
}}
- className="px-3 py-1.5 bg-red-600 hover:bg-red-700 text-white text-xs rounded transition-colors"
+ className="btn-feedback-submit"
>
Submit
@@ -351,7 +351,7 @@ export default function TaskCard({ todo, showDragHandle = true, onToggleComplete
{/* Expanded original capture */}
{showOriginal && todo.captureId && (
-
+
{isLoadingCapture ? (
Loading original capture...
) : (
@@ -371,7 +371,7 @@ export default function TaskCard({ todo, showDragHandle = true, onToggleComplete
{/* Description section */}
{todo.description && (
-
+
)}
@@ -541,16 +537,13 @@ export default function TaskCard({ todo, showDragHandle = true, onToggleComplete
{!showTagEditor && todo.tags && todo.tags.length > 0 && (
<>
{todo.tags.map((tag) => (
-
+
{tag}
))}