From 115c3773ef65f6907c5284dc3fa933d1fed97eda Mon Sep 17 00:00:00 2001 From: bonamin Date: Tue, 17 Feb 2026 11:08:58 +0200 Subject: [PATCH] Applied Extra Changes/Fixes to the UI --- frontend/src/index.css | 14 + frontend/src/melodies/MelodyForm.jsx | 72 +++-- frontend/src/melodies/MelodyList.jsx | 375 ++++++++++++++++++++------- 3 files changed, 331 insertions(+), 130 deletions(-) diff --git a/frontend/src/index.css b/frontend/src/index.css index f1d8c73..6cefe8d 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -1 +1,15 @@ @import "tailwindcss"; + +/* Ensure all interactive elements show pointer cursor */ +button, +[role="button"], +a, +select, +label[for], +input[type="checkbox"], +input[type="radio"], +input[type="file"], +input[type="color"], +summary { + cursor: pointer; +} diff --git a/frontend/src/melodies/MelodyForm.jsx b/frontend/src/melodies/MelodyForm.jsx index f926330..16181a5 100644 --- a/frontend/src/melodies/MelodyForm.jsx +++ b/frontend/src/melodies/MelodyForm.jsx @@ -432,12 +432,6 @@ export default function MelodyForm() { : "transparent", }} /> - updateInfo("color", e.target.value)} - className="w-8 h-8 cursor-pointer border border-gray-300 rounded flex-shrink-0" - /> - {quickColors.length > 0 && ( -
- {quickColors.map((color) => ( -
- )} +
+ {quickColors.map((color) => ( +
@@ -482,19 +489,6 @@ export default function MelodyForm() {
-
- - updateInfo("notes", parseIntList(e.target.value))} - placeholder="e.g. 1, 2, 3, 4" - className={inputClass} - /> -
-