Skip to content

Create polished demo videos without editing skills. Mac/Windows/Linux

fix: wrap text within a span

joaovictorjs6823f46dc6ef
diff --git a/src/components/video-editor/ShortcutsConfigDialog.tsx b/src/components/video-editor/ShortcutsConfigDialog.tsx
index e758733c..a8edd137 100644
--- a/src/components/video-editor/ShortcutsConfigDialog.tsx
+++ b/src/components/video-editor/ShortcutsConfigDialog.tsx
@@ -203,7 +203,7 @@ export function ShortcutsConfigDialog() {
onClick={handleReset}
>
<RotateCcw className="w-3 h-3" />
- {t('shortcutsConfig.resetToDefaults')}
+ <span className="truncate">{t('shortcutsConfig.resetToDefaults')}</span>
</Button>
<div className="flex gap-2">
<Button variant="ghost" size="sm" onClick={handleClose}>