From e177161a1157e8767af5969a612eb241c49213b8 Mon Sep 17 00:00:00 2001 From: Konstantinos Kaloutas Date: Sun, 17 Mar 2024 01:22:23 +0200 Subject: [PATCH] fix time padding --- src/renderer/timeline/views.cljs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/renderer/timeline/views.cljs b/src/renderer/timeline/views.cljs index 5cd7f680..f0692a94 100644 --- a/src/renderer/timeline/views.cljs +++ b/src/renderer/timeline/views.cljs @@ -51,10 +51,11 @@ [:> Select/Viewport {:class "select-viewport"} [:> Select/Group (for [{:keys [id value label]} speed-options] - ^{:key id} [:> Select/Item - {:value value - :class "menu-item select-item"} - [:> Select/ItemText label]])]] + ^{:key id} + [:> Select/Item + {:value value + :class "menu-item select-item"} + [:> Select/ItemText label]])]] [:> Select/ScrollDownButton {:class "select-scroll-button"} [comp/icon "chevron-down"]]]]]])) @@ -105,7 +106,7 @@ :icon "refresh" :action #(rf/dispatch [:timeline/toggle-replay])}] [speed-select timeline-ref] - [:span.font-mono time-formatted] + [:span.font-mono.px-2 time-formatted] (when timeline? [:div.snap-controls.flex [:span.v-divider]