Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

fix(settings): move appearance reset to styles.css so it works in dev

enesfc96793dd92b
diff --git a/src/renderer/styles.css b/src/renderer/styles.css
index 3f9aff093..27e67e9c9 100644
--- a/src/renderer/styles.css
+++ b/src/renderer/styles.css
@@ -3480,6 +3480,25 @@ body,
height: 18px;
flex: none;
}
+
+/* Settings surface (.nt-settings): Tailwind preflight is intentionally not
+ loaded, so unstyled <button>/<input>/<select> render with the grey native
+ chrome (the light pills in the settings sidebar). Reset ONLY `appearance`
+ here, in plain CSS so it is served in dev and prod alike — no
+ background/border/color, so Tailwind utilities keep full control. */
+.nt-settings button,
+.nt-settings input,
+.nt-settings select,
+.nt-settings textarea {
+ -webkit-appearance: none;
+ appearance: none;
+}
+.nt-settings select::-ms-expand {
+ display: none;
+}
+.nt-settings textarea {
+ resize: vertical;
+}
.agents-row-label {
flex: 1;
font-size: 13px;
diff --git a/src/renderer/tailwind.css b/src/renderer/tailwind.css
index d16134667..d3910ba90 100644
--- a/src/renderer/tailwind.css
+++ b/src/renderer/tailwind.css
@@ -20,22 +20,3 @@
--radius-md: var(--radius);
--radius-lg: var(--radius-lg);
}
-
-/* Settings surface: Tailwind preflight is intentionally not loaded, so native
- form-control chrome (the grey button background, the select arrow) would leak
- through. Neutralize ONLY `appearance` here — no background/border/color/font —
- so Tailwind utilities still fully control the look without a cascade-layer
- conflict. Scoped to the settings page via the `.nt-settings` root class. */
-.nt-settings button,
-.nt-settings input,
-.nt-settings select,
-.nt-settings textarea {
- -webkit-appearance: none;
- appearance: none;
-}
-.nt-settings select::-ms-expand {
- display: none;
-}
-.nt-settings textarea {
- resize: vertical;
-}
diff --git a/src/renderer/ui/Switch.tsx b/src/renderer/ui/Switch.tsx
index b503d981a..0069247c8 100644
--- a/src/renderer/ui/Switch.tsx
+++ b/src/renderer/ui/Switch.tsx
@@ -23,7 +23,7 @@ export function Switch({
>
<span
className={cn(
- 'absolute top-[3px] size-[18px] rounded-full bg-white shadow-sm transition-transform duration-200',
+ 'absolute left-0 top-[3px] size-[18px] rounded-full bg-white shadow-sm transition-transform duration-200',
checked ? 'translate-x-[21px]' : 'translate-x-[3px]'
)}
/>