From 507c48b86b33b760eba9c4aec88a274dd5b63b5f Mon Sep 17 00:00:00 2001 From: Alexandre Rousseau Date: Mon, 16 Dec 2024 18:12:38 +0100 Subject: [PATCH] fix(ui): add `min-width` to `CoreTimer` - WF-130 The `CoreTimer` component has no minimum width, which makes it indivisibles inside a `CoreHortizontalStack` component because these components force child components to have `width: auto` (see #600). I double-checked, and it seems `CoreTimer` the only component affected by this issue. --- src/ui/src/components/core/other/CoreTimer.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/src/components/core/other/CoreTimer.vue b/src/ui/src/components/core/other/CoreTimer.vue index abc82e443..316f24bd3 100644 --- a/src/ui/src/components/core/other/CoreTimer.vue +++ b/src/ui/src/components/core/other/CoreTimer.vue @@ -94,7 +94,7 @@ watch(isTickHandlerSet, async (newIsTickHandlerSet) => { }); let animationTriggeredTime: number = 0; -let activeTimerId: number = null; +let activeTimerId: ReturnType = null; function clearActiveTimer() { clearTimeout(activeTimerId); @@ -134,6 +134,7 @@ onMounted(() => {