From 4fab947d6c2b1191fbbac37124aa5bd3af0af79e Mon Sep 17 00:00:00 2001 From: Kagamine Rin Date: Fri, 29 May 2026 20:23:33 -0400 Subject: [PATCH] fix: Clean up SettingsModal layout - Both danger zone rows now use flex items-start gap-4 for consistent text+button alignment with proper breathing room - Added shrink-0 to buttons so they don't compress - Added whitespace-nowrap to Delete All button so text doesn't wrap - Shortened confirm button text to just 'Confirm' (was 'Confirm Delete') - Moved confirmation warning inline under the description text instead of as a separate block below, keeping the row compact - Shortened description text: 'Remove N clips. Cannot be undone.' --- frontend/src/components/SettingsModal.tsx | 53 +++++++++++------------ 1 file changed, 25 insertions(+), 28 deletions(-) diff --git a/frontend/src/components/SettingsModal.tsx b/frontend/src/components/SettingsModal.tsx index dfcde65..6b8d9c5 100644 --- a/frontend/src/components/SettingsModal.tsx +++ b/frontend/src/components/SettingsModal.tsx @@ -76,15 +76,15 @@ export default function SettingsModal({ isOpen, onClose, onClearWaveforms, onDel
{/* Clear Waveforms */} -
-
+
+

Clear Waveform Cache

Delete all cached SVGs. They regenerate on next view.

@@ -93,32 +93,29 @@ export default function SettingsModal({ isOpen, onClose, onClearWaveforms, onDel
{/* Delete All */} -
-
-
-

Delete All Tracks

-

- Remove {clipCount} clip{clipCount !== 1 ? 's' : ''}, MP3s, artwork, and waveforms. Cannot be undone. -

-
- -
- - {confirmDelete && ( -

- Click again to confirm. This permanently deletes everything. +

+
+

Delete All Tracks

+

+ Remove {clipCount} clip{clipCount !== 1 ? 's' : ''}. Cannot be undone.

- )} + {confirmDelete && ( +

+ Click again to confirm permanent deletion. +

+ )} +
+