Skip to content

Commit

Permalink
0.0.281 - fix: cursor pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
nahoc committed Jan 27, 2025
1 parent efe1c9b commit 66510b2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { Simplify } from "type-fest";
import { cn } from "./cn";

export const buttonVariants = cva(
"inline-flex cursor-pointer items-center justify-center whitespace-nowrap rounded-md font-bold text-sm transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50",
"inline-flex items-center justify-center whitespace-nowrap rounded-md font-bold text-sm transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50",
{
variants: {
variant: {
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.280",
"version": "0.0.281",
"private": false,
"sideEffects": false,
"type": "module",
Expand Down
4 changes: 4 additions & 0 deletions styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,10 @@ body[data-scroll-locked] {
width: 100%;
}

button {
cursor: pointer;
}

iframe {
/* for google login button having a white background otherwise */
color-scheme: auto;
Expand Down

0 comments on commit 66510b2

Please sign in to comment.