Skip to content

The swiss army knife of lossless video/audio editing

fix settings column width #2606

Mikael Finstad25111079fd08
diff --git a/src/renderer/src/components/Settings.module.css b/src/renderer/src/components/Settings.module.css
index 15fdc386..3b16a001 100644
--- a/src/renderer/src/components/Settings.module.css
+++ b/src/renderer/src/components/Settings.module.css
@@ -7,6 +7,7 @@
}
.settings td:nth-child(2), .settings th:nth-child(2) {
padding: 1em 0 1em 0;
+ width: 15em;
}
.settings th {
diff --git a/src/renderer/src/components/Settings.tsx b/src/renderer/src/components/Settings.tsx
index deae1b75..3c6ccef4 100644
--- a/src/renderer/src/components/Settings.tsx
+++ b/src/renderer/src/components/Settings.tsx
@@ -23,7 +23,7 @@ import { dangerColor } from '../colors';
const Button = ({ style, ...props }: ButtonProps) => <ButtonRaw style={{ padding: '.5em .9em', ...style }} {...props} />;
// eslint-disable-next-line react/jsx-props-no-spreading
-const Select = ({ style, ...props }: SelectProps) => <SelectRaw style={{ padding: '.5em 1.9em .5em .9em', ...style }} {...props} />;
+const Select = ({ style, ...props }: SelectProps) => <SelectRaw style={{ padding: '.5em 1.9em .5em .9em', maxWidth: '15em', ...style }} {...props} />;
// eslint-disable-next-line react/jsx-props-no-spreading