🎥 Make videos programmatically with React
`@remotion/studio`: Balance Unwrap icon dashes and size
JonnyBurger8b06355723df
diff --git a/packages/studio/src/components/InspectorPanel/SequenceUnwrapAction.tsx b/packages/studio/src/components/InspectorPanel/SequenceUnwrapAction.tsxindex c4cb9aad09..d256f9d948 100644--- a/packages/studio/src/components/InspectorPanel/SequenceUnwrapAction.tsx+++ b/packages/studio/src/components/InspectorPanel/SequenceUnwrapAction.tsx@@ -4,11 +4,13 @@ import type {SequenceNodePathInfo} from '../../helpers/get-timeline-sequence-sorimport {UnwrapIcon} from '../../icons/unwrap';import {showNotification} from '../Notifications/NotificationCenter';import {unwrapNode} from '../unwrap-node-api';-import {- InspectorQuickAction,- largeInspectorActionIconContainerStyle,- largeInspectorActionIconStyle,-} from './common';+import {InspectorQuickAction} from './common';++const iconStyle: React.CSSProperties = {+ display: 'block',+ height: 16,+ width: 16,+};export const SequenceUnwrapAction: React.FC<{readonly nodePathInfo: SequenceNodePathInfo;@@ -67,11 +69,8 @@ export const SequenceUnwrapAction: React.FC<{<InspectorQuickActiondisabled={busy}onClick={onUnwrap}- iconContainerStyle={largeInspectorActionIconContainerStyle}aria-label="Unwrap: remove this element and keep its children"- renderIcon={(color) => (- <UnwrapIcon color={color} style={largeInspectorActionIconStyle} />- )}+ renderIcon={(color) => <UnwrapIcon color={color} style={iconStyle} />}>Unwrap</InspectorQuickAction>diff --git a/packages/studio/src/icons/unwrap.tsx b/packages/studio/src/icons/unwrap.tsxindex ae82da9d65..4a8a9b60de 100644--- a/packages/studio/src/icons/unwrap.tsx+++ b/packages/studio/src/icons/unwrap.tsx@@ -8,16 +8,14 @@ export const UnwrapIcon: React.FC<> = ({color, ...props}) => {return (<svg {...props} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">- <rect- x={16}- y={48}- width={480}- height={416}- rx={48}+ <path+ d="M256 48H448A48 48 0 0 1 496 96V416A48 48 0 0 1 448 464H64A48 48 0 0 1 16 416V96A48 48 0 0 1 64 48Z"+ pathLength={40}fill="none"stroke={color}strokeWidth={32}- strokeDasharray="48 40"+ strokeDasharray="1 1"+ strokeDashoffset={0.5}/><rectx={144}