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(editor): apply the scoped-style fix to the remaining pane rows
EtienneLescot30cd2d6016d4
diff --git a/src/components/ai-edition/CaptionsPane.tsx b/src/components/ai-edition/CaptionsPane.tsxindex c1f6d732d..7b4142fbf 100644--- a/src/components/ai-edition/CaptionsPane.tsx+++ b/src/components/ai-edition/CaptionsPane.tsx@@ -182,7 +182,7 @@ export function CaptionsPane() {</header><div className={styles.paneBody} style={{ padding: 0 }}><div className={styles.paneRow}>- <span className="label">{t("captions.show")}</span>+ <span className={styles.label}>{t("captions.show")}</span><Togglechecked={settings.enabled}disabled={disabled || !hasTranscript}@@ -275,7 +275,7 @@ export function CaptionsPane() {{/* ── Language ───────────────────────────────────────────── */}<div className={styles.sectionLabel}>{t("captions.language")}</div><div className={styles.paneRow}>- <span className="label">{t("captions.displayLanguage")}</span>+ <span className={styles.label}>{t("captions.displayLanguage")}</span><selectvalue={settings.language ?? ""}disabled={disabled}@@ -358,7 +358,7 @@ export function CaptionsPane() {{/* ── Text ───────────────────────────────────────────────── */}<div className={styles.sectionLabel}>{t("captions.text")}</div><div className={styles.paneRow}>- <span className="label">{t("captions.font")}</span>+ <span className={styles.label}>{t("captions.font")}</span><selectvalue={settings.fontFamily}disabled={disabled}@@ -373,7 +373,7 @@ export function CaptionsPane() {</select></div><div className={styles.paneRow}>- <span className="label">{t("captions.bold")}</span>+ <span className={styles.label}>{t("captions.bold")}</span><Togglechecked={settings.fontWeight === "bold"}disabled={disabled}@@ -393,7 +393,7 @@ export function CaptionsPane() {/></div><div className={styles.paneRow}>- <span className="label">{t("captions.textColor")}</span>+ <span className={styles.label}>{t("captions.textColor")}</span><ColorFieldlabel={t("captions.textColor")}value={settings.color}@@ -409,7 +409,7 @@ export function CaptionsPane() {background: the swatch keeps showing the remembered colour while theplate is off, because that is what turning it back on will draw. */}<div className={styles.paneRow}>- <span className="label">{t("captions.background")}</span>+ <span className={styles.label}>{t("captions.background")}</span><div style={{ display: "flex", alignItems: "center", gap: 8 }}><ColorFieldlabel={t("captions.backgroundColor")}@@ -488,7 +488,7 @@ export function CaptionsPane() {{/* ── Line length ────────────────────────────────────────── */}<div className={styles.sectionLabel}>{t("captions.lineLength")}</div><div className={styles.paneRow}>- <span className="label">{t("captions.minWords")}</span>+ <span className={styles.label}>{t("captions.minWords")}</span><selectvalue={settings.minWordsPerLine}disabled={disabled}@@ -503,7 +503,7 @@ export function CaptionsPane() {</select></div><div className={styles.paneRow} style={{ marginBottom: 16 }}>- <span className="label">{t("captions.maxWords")}</span>+ <span className={styles.label}>{t("captions.maxWords")}</span><selectvalue={settings.maxWordsPerLine}disabled={disabled}diff --git a/src/components/ai-edition/ExportDialog.tsx b/src/components/ai-edition/ExportDialog.tsxindex e640fbd19..ec8122f00 100644--- a/src/components/ai-edition/ExportDialog.tsx+++ b/src/components/ai-edition/ExportDialog.tsx@@ -570,7 +570,7 @@ export function ExportDialog({ open, onClose, document }: ExportDialogProps) {</div></div><div className={styles.paneRow} style={{ margin: 0 }}>- <span className="label">{t("exportDialog.loopGif")}</span>+ <span className={styles.label}>{t("exportDialog.loopGif")}</span><buttontype="button"className={`${styles.toggle} ${gifLoop ? styles.isOn : ""}`}diff --git a/src/components/ai-edition/RightPanes.tsx b/src/components/ai-edition/RightPanes.tsxindex 87bce1ed3..f725b8675 100644--- a/src/components/ai-edition/RightPanes.tsx+++ b/src/components/ai-edition/RightPanes.tsx@@ -1380,7 +1380,7 @@ export function VideoEffectsPane() {return (<Pane title={ts("effects.title")} icon={<Sliders size={14} />} helpText={ts("effects.help")}><div className={styles.paneRow}>- <span className="label">{ts("effects.blurBg")}</span>+ <span className={styles.label}>{ts("effects.blurBg")}</span><Togglechecked={settings.showBlur}disabled={!hasDocument}@@ -1540,7 +1540,7 @@ export function LayoutPane() {</select></div><div className={styles.paneRow}>- <span className="label">{ts("layout.mirrorWebcam")}</span>+ <span className={styles.label}>{ts("layout.mirrorWebcam")}</span><Togglechecked={settings.webcamMirrored}disabled={layoutControlsDisabled}@@ -1554,7 +1554,7 @@ export function LayoutPane() {</div>{supportsReactiveZoom ? (<div className={styles.paneRow}>- <span className="label">{ts("layout.reactiveWebcam")}</span>+ <span className={styles.label}>{ts("layout.reactiveWebcam")}</span><Togglechecked={settings.webcamReactiveZoom}disabled={layoutControlsDisabled}@@ -1703,7 +1703,7 @@ export function CursorPane() {helpText={ts("cursor.help")}><div className={styles.paneRow}>- <span className="label">{ts("cursor.show")}</span>+ <span className={styles.label}>{ts("cursor.show")}</span><Togglechecked={settings.cursorShow}disabled={!hasDocument}@@ -1716,7 +1716,7 @@ export function CursorPane() {/></div><div className={styles.paneRow}>- <span className="label">{ts("cursor.clipToBounds")}</span>+ <span className={styles.label}>{ts("cursor.clipToBounds")}</span><Togglechecked={settings.cursor.clipToBounds}disabled={!hasDocument}