Skip to content

Commit

Permalink
Unscope buttons
Browse files Browse the repository at this point in the history
As node buttons had their grip/delete sub buttons below instead of to the side.
  • Loading branch information
sverhoeven committed Feb 8, 2024
1 parent 3110ccd commit 5e580a4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions app/builder/Form.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 5e580a4

Please sign in to comment.