Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
fix: fill rounded background color swatch
EtienneLescot218bdbb05ac9
diff --git a/src/components/ai-edition/NewEditorShell.module.css b/src/components/ai-edition/NewEditorShell.module.cssindex f61bf76fe..a1781b2b1 100644--- a/src/components/ai-edition/NewEditorShell.module.css+++ b/src/components/ai-edition/NewEditorShell.module.css@@ -1334,6 +1334,27 @@ textarea.control {box-shadow: 0 0 0 2px color-mix(in oklab, var(--brand), transparent 70%);}+/* Remove Chromium's built-in inset so the selected colour fills the rounded control. */+.bgColorInput {+ box-sizing: border-box;+ width: 48px;+ height: 34px;+ padding: 0;+ border: 1px solid var(--border);+ border-radius: 10px;+ background: var(--surface);+ cursor: pointer;+}+.bgColorInput::-webkit-color-swatch-wrapper { padding: 0; }+.bgColorInput::-webkit-color-swatch {+ border: 0;+ border-radius: 9px;+}+.bgColorInput::-moz-color-swatch {+ border: 0;+ border-radius: 9px;+}+.captionsPopover {width: 310px;display: flex;diff --git a/src/components/ai-edition/RightPanes.tsx b/src/components/ai-edition/RightPanes.tsxindex b23919cc8..a52b55d22 100644--- a/src/components/ai-edition/RightPanes.tsx+++ b/src/components/ai-edition/RightPanes.tsx@@ -500,18 +500,11 @@ function BackgroundColorTab({><inputtype="color"+ className={styles.bgColorInput}value={hexDraft}disabled={!hasDocument}onChange={(e) => setHexDraft(e.target.value)}onBlur={commitHex}- style={{- width: 48,- height: 34,- border: "1px solid var(--border)",- borderRadius: 10,- background: "var(--surface)",- padding: 0,- }}/>{/* Mono stays: a hex code. */}<input