Skip to content

🎥 Make videos programmatically with React

Elements: Improve Studio drag handle (#10629)

Igor Samokhovets7c4d59d269ac
diff --git a/packages/docs/src/components/Elements/ElementPage.module.css b/packages/docs/src/components/Elements/ElementPage.module.css
index 3631e56656..ff00ac8bc1 100644
--- a/packages/docs/src/components/Elements/ElementPage.module.css
+++ b/packages/docs/src/components/Elements/ElementPage.module.css
@@ -149,6 +149,7 @@
flex-direction: column;
line-height: 1.3;
text-align: center;
+ white-space: nowrap;
}
.dragHandleText strong {
diff --git a/packages/docs/src/components/Elements/ElementPage.tsx b/packages/docs/src/components/Elements/ElementPage.tsx
index 441d96e247..3f84ac90b7 100644
--- a/packages/docs/src/components/Elements/ElementPage.tsx
+++ b/packages/docs/src/components/Elements/ElementPage.tsx
@@ -237,13 +237,13 @@ export const ElementPage: React.FC<ElementPageProps> = ({
});
setElementDragImage(event.dataTransfer, posterRef.current);
}}
- title="Hover over your Studio browser tab, then drop on the canvas or timeline"
+ title="Drag into your Studio browser tab to choose where the element is placed on the canvas or timeline"
>
<span aria-hidden="true" className={styles.dragHandleIcon}>
â ¿
</span>
<span className={styles.dragHandleText}>
- <strong>Drag to your Studio canvas or timeline</strong>
+ <strong>Drag into Studio</strong>
</span>
</div>
{installStatus.type === 'success' ||