Skip to content

🎥 Make videos programmatically with React

`@remotion/studio`: Fix timeline arrow spacer cursor (#7836)

Jonny Burger2ab1d417e6f9
diff --git a/packages/studio/src/components/Timeline/TimelineExpandArrowButton.tsx b/packages/studio/src/components/Timeline/TimelineExpandArrowButton.tsx
index dc2c0ddd4e..3e401da86c 100644
--- a/packages/studio/src/components/Timeline/TimelineExpandArrowButton.tsx
+++ b/packages/studio/src/components/Timeline/TimelineExpandArrowButton.tsx
@@ -19,6 +19,11 @@ const arrowButton: React.CSSProperties = {
lineHeight: 1,
};
+const arrowSpacer: React.CSSProperties = {
+ ...arrowButton,
+ cursor: 'default',
+};
+
const svgStyle: React.CSSProperties = {display: 'block'};
export const TimelineExpandArrowButton: React.FC<{
@@ -53,5 +58,5 @@ export const TimelineExpandArrowButton: React.FC<{
};
export const TimelineExpandArrowSpacer: React.FC = () => {
- return <div style={arrowButton} />;
+ return <div style={arrowSpacer} />;
};