🎥 Make videos programmatically with React
Keep bottom border on search bar, reduce current composition height
Jonny Burgerc26a5ef80bf6
diff --git a/packages/studio/src/components/CompositionSelector.tsx b/packages/studio/src/components/CompositionSelector.tsxindex 2b2b9958a6..a87262d341 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, LIGHT_TEXT} from '../helpers/colors';+import {BACKGROUND, BORDER_COLOR, LIGHT_TEXT} from '../helpers/colors';import {createFolderTree,splitParentIntoNameAndParent,@@ -90,6 +90,7 @@ 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.tsxindex 7b356721ba..4d2c3ec710 100644--- a/packages/studio/src/components/CurrentComposition.tsx+++ b/packages/studio/src/components/CurrentComposition.tsx@@ -4,12 +4,12 @@ import {BACKGROUND} from '../helpers/colors';import {isCompositionStill} from '../helpers/is-composition-still';import {renderFrame} from '../state/render-frame';-export const CURRENT_COMPOSITION_HEIGHT = 70;+export const CURRENT_COMPOSITION_HEIGHT = 64;const container: React.CSSProperties = {height: CURRENT_COMPOSITION_HEIGHT,display: 'block',- padding: '8px 12px',+ padding: '6px 12px',color: 'white',backgroundColor: BACKGROUND,};