From 5e580a4e3113712147a12d1ac6b65f47c5787543 Mon Sep 17 00:00:00 2001 From: sverhoeven Date: Thu, 8 Feb 2024 15:25:20 +0100 Subject: [PATCH] Unscope buttons As node buttons had their grip/delete sub buttons below instead of to the side. --- app/builder/Form.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/builder/Form.css b/app/builder/Form.css index 239bacaf..636f533f 100644 --- a/app/builder/Form.css +++ b/app/builder/Form.css @@ -28,30 +28,30 @@ Btn classes are copied from app/components/ui/button.tsx */ -.workflow-builder-app .btn { +.btn { @apply inline-block h-10 rounded-md px-4 py-2 text-sm font-medium transition-colors duration-150 ease-in-out; } /* variant=secondary */ -.workflow-builder-app .btn-light { +.btn-light { @apply bg-secondary text-start text-secondary-foreground hover:bg-secondary/80; } -.workflow-builder-app .btn-sm { +.btn-sm { @apply h-12 bg-transparent p-1 text-sm; } -.workflow-builder-app .grip, -.workflow-builder-app .delete { +.grip, +.delete { @apply h-auto border-0; } /* variant=link */ -.workflow-builder-app .btn-link { +.btn-link { @apply text-primary underline-offset-4 hover:underline; } -.workflow-builder-app .btn-toolbar { +.btn-toolbar { @apply flex flex-wrap justify-start; }