mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-28 09:15:24 +02:00
refactor: better focus-visible a11y (#1017)
* refactor: better focus-visible a11y * style: fix tree leaf width * style: input focus ring size * refactor: focus a11y on project pages * fix: project-environment import statement * style: `ring-border` on input * refactor: use ring border --------- Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Slot } from "@radix-ui/react-slot";
|
||||
import { Slot, Slottable } from "@radix-ui/react-slot";
|
||||
import { type VariantProps, cva } from "class-variance-authority";
|
||||
import * as React from "react";
|
||||
|
||||
@@ -68,7 +68,7 @@ const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
|
||||
{...props}
|
||||
>
|
||||
{isLoading && <Loader2 className="animate-spin" />}
|
||||
{children}
|
||||
<Slottable>{children}</Slottable>
|
||||
</Comp>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user