Skip to content

🎥 Make videos programmatically with React

Remove dividing borders between current composition, search bar, and list

Jonny Burger0ce41183e968
diff --git a/packages/studio/src/components/CompositionSelector.tsx b/packages/studio/src/components/CompositionSelector.tsx
index a87262d341..2b2b9958a6 100644
--- a/packages/studio/src/components/CompositionSelector.tsx
+++ b/packages/studio/src/components/CompositionSelector.tsx
@@ -1,7 +1,7 @@
import React, {useCallback, useContext, useMemo} from 'react';
import {Internals} from 'remotion';
import {cmdOrCtrlCharacter} from '../error-overlay/remotion-overlay/ShortcutHint';
-import {BACKGROUND, BORDER_COLOR, LIGHT_TEXT} from '../helpers/colors';
+import {BACKGROUND, LIGHT_TEXT} from '../helpers/colors';
import {
createFolderTree,
splitParentIntoNameAndParent,
@@ -90,7 +90,6 @@ const QUICK_SWITCHER_TRIGGER_HEIGHT = 38;
const quickSwitcherArea: React.CSSProperties = {
padding: '4px 12px',
- borderBottom: `1px solid ${BORDER_COLOR}`,
};
const quickSwitcherTrigger: React.CSSProperties = {
diff --git a/packages/studio/src/components/CurrentComposition.tsx b/packages/studio/src/components/CurrentComposition.tsx
index 0c2384eb45..7b356721ba 100644
--- a/packages/studio/src/components/CurrentComposition.tsx
+++ b/packages/studio/src/components/CurrentComposition.tsx
@@ -1,6 +1,6 @@
import React from 'react';
import {Internals} from 'remotion';
-import {BACKGROUND, BORDER_COLOR} from '../helpers/colors';
+import {BACKGROUND} from '../helpers/colors';
import {isCompositionStill} from '../helpers/is-composition-still';
import {renderFrame} from '../state/render-frame';
@@ -9,7 +9,6 @@ export const CURRENT_COMPOSITION_HEIGHT = 70;
const container: React.CSSProperties = {
height: CURRENT_COMPOSITION_HEIGHT,
display: 'block',
- borderBottom: `1px solid ${BORDER_COLOR}`,
padding: '8px 12px',
color: 'white',
backgroundColor: BACKGROUND,