From 6c5abfd5cef91297968b20432cfe8faeb64d5da4 Mon Sep 17 00:00:00 2001 From: somebody1234 Date: Tue, 19 Nov 2024 18:55:27 +1000 Subject: [PATCH] Show time buttons when hovering over project execution --- .../layouts/AssetPanel/components/ProjectExecution.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/gui/src/dashboard/layouts/AssetPanel/components/ProjectExecution.tsx b/app/gui/src/dashboard/layouts/AssetPanel/components/ProjectExecution.tsx index 9dcb5c68a9..730e5fc0c6 100644 --- a/app/gui/src/dashboard/layouts/AssetPanel/components/ProjectExecution.tsx +++ b/app/gui/src/dashboard/layouts/AssetPanel/components/ProjectExecution.tsx @@ -19,12 +19,12 @@ import * as backendModule from '#/services/Backend' import { tv } from '#/utilities/tailwindVariants' const PROJECT_EXECUTION_STYLES = tv({ - base: 'flex flex-row gap-1 w-full rounded-default items-center odd:bg-primary/5 p-2', + base: 'group flex flex-row gap-1 w-full rounded-default items-center odd:bg-primary/5 p-2', variants: { isEnabled: { false: { time: 'opacity-50', optionContainer: 'opacity-50' } }, }, slots: { - timeContainer: 'group flex flex-row items-center gap-2 grow px-2 py-0.5', + timeContainer: 'flex flex-row items-center gap-2 grow px-2 py-0.5', time: '', timeButtons: 'opacity-0 group-hover:opacity-100 transition-[opacity]', optionContainer: 'flex flex-col grow-0 gap-1',