From cb1dd9302e0039f6a50d81392f5acab3c8c744f6 Mon Sep 17 00:00:00 2001 From: Chris Hubbard Date: Thu, 2 Nov 2023 15:52:33 -0400 Subject: [PATCH] Fix audiobar icon spacing with large icons (#413) * Remove DaisyUI btn class (which want to be aligned flex-start) * Manually layout buttons with padding and alignment --- src/lib/components/AudioBar.svelte | 42 +++++++++++++++--------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/src/lib/components/AudioBar.svelte b/src/lib/components/AudioBar.svelte index 396e616f6..2c36a222f 100644 --- a/src/lib/components/AudioBar.svelte +++ b/src/lib/components/AudioBar.svelte @@ -62,32 +62,26 @@ TODO:
-
- {#if showRepeatMode} - - {/if} -
+ {#if showRepeatMode} + + {/if} -
- {#if $refs.hasAudio?.timingFile} - {/if} - {#if $refs.hasAudio?.timingFile} - {/if} -
-
+
{#if showSpeed} {/if} @@ -163,11 +157,17 @@ TODO: place-self: center; } .audio-controls { + display: inline-flex; grid-row: 1; grid-column: 2; place-self: center; align-items: center; } + .audio-control-buttons { + margin-inline-start: 12px; + margin-inline-end: 12px; + place-self: center; + } .audio-speed { grid-row: 1; grid-column: 3;