From 8fae4b1742f330789007a15ff13af7e1d5c3eadf Mon Sep 17 00:00:00 2001
From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com>
Date: Thu, 25 Dec 2025 18:37:35 +0530
Subject: [PATCH] refactor: update audio component for improved volume control
and UI
- Removed the play overlay button from the artwork section for a cleaner design.
- Replaced the existing volume slider with a custom volume bar for better visual distinction.
- Enhanced the volume control layout for improved user experience and accessibility.
---
surfsense_web/components/tool-ui/audio.tsx | 41 +++++++++++-----------
1 file changed, 20 insertions(+), 21 deletions(-)
diff --git a/surfsense_web/components/tool-ui/audio.tsx b/surfsense_web/components/tool-ui/audio.tsx
index 19098d5b8..4b7679cd6 100644
--- a/surfsense_web/components/tool-ui/audio.tsx
+++ b/surfsense_web/components/tool-ui/audio.tsx
@@ -188,19 +188,6 @@ export function Audio({ id, src, title, description, artwork, durationMs, classN