From dd9c923b0ad055a1fecc7788b6a74693efd9fe09 Mon Sep 17 00:00:00 2001 From: Basma Elhoseny Date: Sat, 17 Aug 2024 15:26:28 +0300 Subject: [PATCH] added container to the controls --- src/components/molecules/AudioWave.vue | 77 ++++++++++++++++---------- 1 file changed, 47 insertions(+), 30 deletions(-) diff --git a/src/components/molecules/AudioWave.vue b/src/components/molecules/AudioWave.vue index 427a0642..e23899d2 100644 --- a/src/components/molecules/AudioWave.vue +++ b/src/components/molecules/AudioWave.vue @@ -8,30 +8,39 @@ - - - - {{ playing ? 'mdi-pause' : 'mdi-play' }} - - - - -
- -
- - - -
- -
+ + + + + {{ playing ? 'mdi-pause' : 'mdi-play' }} + + + + + + + {{ speedText }} + + + + + + + + + + + + @@ -283,12 +292,6 @@ export default { console.error(error) }) }, - // updateRegion(newStart, newEnd) { - updateRegion() { - const newStart=0 - const newEnd=8 - this.$emit('update:newRegion', { start: newStart, end: newEnd }); - }, }, } @@ -297,6 +300,20 @@ export default { .custom-btn { text-transform: none; /* Preserve the original text case */ } + +.controls-row { + margin-top: 16px; +} + +.volume-col { + flex: 1; + max-width: 300px; /* Adjust width as needed */ +} + +.volume-slider { + width: 100%; +} + /* .waveform-container { */ /* height: 100px; */ /* Additional styles can be added here */