Skip to content

🎥 Make videos programmatically with React

fix(studio): Match Browse Elements icon size in welcome view

Jonny Burgerf4b8b48fedbb
diff --git a/packages/studio/src/components/CanvasOrLoading.tsx b/packages/studio/src/components/CanvasOrLoading.tsx
index 4043d6294f..8c6ebededc 100644
--- a/packages/studio/src/components/CanvasOrLoading.tsx
+++ b/packages/studio/src/components/CanvasOrLoading.tsx
@@ -23,6 +23,8 @@ import {pickFilesToImport} from './import-assets';
import {
InspectorQuickAction,
inspectorActionIconStyle,
+ largeInspectorActionIconContainerStyle,
+ largeInspectorActionIconStyle,
} from './InspectorPanel/common';
import {VERTICAL_SCROLLBAR_CLASSNAME} from './Menu/is-menu-item';
import {showNotification} from './Notifications/NotificationCenter';
@@ -237,11 +239,12 @@ const WelcomeActions: React.FC = () => {
</InspectorQuickAction>
<InspectorQuickAction
disabled={false}
+ iconContainerStyle={largeInspectorActionIconContainerStyle}
onClick={browseElements}
renderIcon={(color) => (
<BrowseElementsIcon
color={color}
- style={inspectorActionIconStyle}
+ style={largeInspectorActionIconStyle}
/>
)}
>