Skip to content

🎥 Make videos programmatically with React

final style improvements

Patric Salvisberg1969643db213
diff --git a/packages/cli/src/editor/components/RenderModal/MultiRangeSlider.tsx b/packages/cli/src/editor/components/RenderModal/MultiRangeSlider.tsx
index 7d8156a7d2..46a55a2fcc 100644
--- a/packages/cli/src/editor/components/RenderModal/MultiRangeSlider.tsx
+++ b/packages/cli/src/editor/components/RenderModal/MultiRangeSlider.tsx
@@ -5,6 +5,7 @@ import {BLUE, INPUT_BACKGROUND} from '../../helpers/colors';
const container: React.CSSProperties = {
borderColor: 'black',
borderStyle: 'solid',
+ borderWidth: '2px',
height: 39,
width: 220,
position: 'relative',
@@ -19,7 +20,7 @@ const sliderRange: React.CSSProperties = {
position: 'absolute',
top: 0,
backgroundColor: BLUE,
- height: 36,
+ height: 35,
};
interface MultiRangeSliderProps {
diff --git a/packages/cli/styles/styles.css b/packages/cli/styles/styles.css
index f29a08f916..2fd82fff4a 100644
--- a/packages/cli/styles/styles.css
+++ b/packages/cli/styles/styles.css
@@ -54,7 +54,7 @@ input[type='color'].__remotion_color_picker::-webkit-color-swatch {
position: absolute;
height: 0;
outline: none;
- top: 16px;
+ top: 15.5px;
width: 221px;
margin-left: -2px;
z-index: 2;
@@ -62,10 +62,10 @@ input[type='color'].__remotion_color_picker::-webkit-color-swatch {
/* For Firefox browsers */
.__remotion_thumb::-moz-range-thumb {
- border: none;
- border-radius: 0;
+ border: 1px solid black;
+ border-radius: 2px;
cursor: pointer;
- height: 40px;
+ height: 37px;
width: 10px;
pointer-events: all;
border-color: black;
@@ -78,7 +78,7 @@ input[type='color'].__remotion_color_picker::-webkit-color-swatch {
border: 1px solid black;
border-radius: 2px;
cursor: pointer;
- height: 40px;
+ height: 39px;
width: 10px;
pointer-events: all;
border-color: black;