fix: tighten spacing between VAD enable checkbox and mode radio buttons

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
mk
2026-03-24 08:00:14 -03:00
parent 9fc9655dbb
commit c42274a511

View File

@@ -357,7 +357,7 @@ export const SettingsModal: FC<Props> = ({
</FieldRow> </FieldRow>
{vadActive && ( {vadActive && (
<> <>
<Form> <Form style={{ marginTop: "-16px" }}>
<InlineField <InlineField
name={vadModeRadioGroup} name={vadModeRadioGroup}
control={ control={
@@ -385,7 +385,7 @@ export const SettingsModal: FC<Props> = ({
<HelpMessage>160 samples / 10 ms lowest possible latency.</HelpMessage> <HelpMessage>160 samples / 10 ms lowest possible latency.</HelpMessage>
</InlineField> </InlineField>
</Form> </Form>
<div className={`${styles.volumeSlider} ${styles.thresholdSlider}`}> <div style={{ marginTop: "16px" }} className={`${styles.volumeSlider} ${styles.thresholdSlider}`}>
<span className={styles.sliderLabel}>Open threshold: {Math.round(vadPositiveThresholdRaw * 100)}%</span> <span className={styles.sliderLabel}>Open threshold: {Math.round(vadPositiveThresholdRaw * 100)}%</span>
<p>How confident the model must be before opening the gate.</p> <p>How confident the model must be before opening the gate.</p>
<Slider <Slider