Skip to content

Commit

Permalink
fix: default radius
Browse files Browse the repository at this point in the history
  • Loading branch information
nahoc committed Sep 24, 2024
1 parent 1eff5f9 commit fcc0841
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
19 changes: 9 additions & 10 deletions breadcrumb.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,15 @@ const BreadcrumbLink = forwardRef<
);
});

const BreadcrumbPage = forwardRef<HTMLLIElement, ComponentPropsWithoutRef<"li">>(({ className, ...props }, ref) => (
<li ref={ref}>
<span
role="link"
aria-disabled="true"
aria-current="page"
className={cn("text-foreground", className)}
{...props}
/>
</li>
const BreadcrumbPage = forwardRef<HTMLLIElement, ComponentPropsWithoutRef<"span">>(({ className, ...props }, ref) => (
<span
ref={ref}
aria-disabled="true"
role="link"
aria-current="page"
className={cn("text-foreground", className)}
{...props}
/>
));

const BreadcrumbSeparator = ({ children, className, ...props }: ComponentProps<"li">) => (
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@risc0/ui",
"version": "0.0.174",
"version": "0.0.175",
"private": false,
"sideEffects": false,
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
--border: 20 5.9% 90%;
--input: 20 5.9% 90%;
--ring: 20 14.3% 4.1%;
--radius: 0.3rem;
--radius: 0.75rem;

--chart-1: 12 76% 61%;
--chart-2: 173 58% 39%;
Expand Down

0 comments on commit fcc0841

Please sign in to comment.