File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
packages/ui-components/styles Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 1414@import './markdown.css' layer(utilities);
1515
1616/*
17- The default border color has changed to `currentColor` in Tailwind CSS v4,
18- so we've added these compatibility styles to make sure everything still
19- looks the same as it did with Tailwind CSS v3.
20-
21- If we ever want to remove these styles, we need to add an explicit border
22- color utility to any element that depends on these defaults.
17+ See https://tailwindcss.com/docs/upgrade-guide#buttons-use-the-default-cursor
18+ See https://tailwindcss.com/docs/upgrade-guide#default-border-color
2319*/
2420@layer base {
2521 : root {
2622 --header-height : calc (var (--spacing , 0.25rem ) * 16 );
2723 }
2824
25+ button : not (: disabled ),
26+ [role = "button" ]: not (: disabled ) {
27+ cursor : pointer;
28+ }
29+
2930 * ,
3031 ::after ,
3132 ::before ,
You can’t perform that action at this time.
0 commit comments