Skip to content

🎥 Make videos programmatically with React

tweak code modal

Jonny Burger12a30027b4c6
diff --git a/packages/convert/app/components/timing-editor/CodeModal.tsx b/packages/convert/app/components/timing-editor/CodeModal.tsx
index 586f6133fc..0d43344d68 100644
--- a/packages/convert/app/components/timing-editor/CodeModal.tsx
+++ b/packages/convert/app/components/timing-editor/CodeModal.tsx
@@ -98,6 +98,7 @@ export const CodeModal: React.FC<{
type="button"
onClick={() => handleCopy('imports')}
className="h-7 px-2 text-xs w-[60px]"
+ depth={0.5}
>
{copied === 'imports' ? 'Copied!' : 'Copy'}
</Button>
@@ -117,7 +118,8 @@ export const CodeModal: React.FC<{
<Button
type="button"
onClick={() => handleCopy('code')}
- className="h-7 px-2 text-xs"
+ className="h-7 px-2 text-xs w-[60px]"
+ depth={0.5}
>
{copied === 'code' ? 'Copied!' : 'Copy'}
</Button>