Skip to content

🎥 Make videos programmatically with React

other tabs

Jonny Burger78b9d1cd186a
diff --git a/packages/cli/src/editor/components/RenderModal/RenderModal.tsx b/packages/cli/src/editor/components/RenderModal/RenderModal.tsx
index 98c4a71c7b..cf02dab491 100644
--- a/packages/cli/src/editor/components/RenderModal/RenderModal.tsx
+++ b/packages/cli/src/editor/components/RenderModal/RenderModal.tsx
@@ -131,14 +131,15 @@ const horizontalTab: React.CSSProperties = {
flexDirection: 'row',
alignItems: 'center',
textAlign: 'left',
- fontSize: 14,
+ fontSize: 16,
+ fontWeight: 'bold',
paddingLeft: 15,
};
const iconContainer: React.CSSProperties = {
width: 20,
height: 20,
- marginRight: 10,
+ marginRight: 15,
display: 'inline-flex',
justifyContent: 'center',
alignItems: 'center',
@@ -663,16 +664,18 @@ export const RenderModal: React.FC<{
</div>
Picture
</Tab>
- <Tab
- style={horizontalTab}
- selected={tab === 'audio'}
- onClick={() => setTab('audio')}
- >
- <div style={iconContainer}>
- <AudioIcon style={icon} />
- </div>
- Audio
- </Tab>
+ {renderMode === 'still' ? null : (
+ <Tab
+ style={horizontalTab}
+ selected={tab === 'audio'}
+ onClick={() => setTab('audio')}
+ >
+ <div style={iconContainer}>
+ <AudioIcon style={icon} />
+ </div>
+ Audio
+ </Tab>
+ )}
{codec === 'gif' ? (
<Tab
style={horizontalTab}