Skip to content

Commit 3a11bb4

Browse files
committed
fix comments, use @apply
1 parent 0d769b9 commit 3a11bb4

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

packages/ui-components/src/styles/index.css

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@
1414
@import './markdown.css' layer(utilities);
1515

1616
@layer base {
17-
/* See https://tailwindcss.com/docs/upgrade-guide#buttons-use-the-default-cursor */
18-
button,
19-
[role='button'] {
20-
&:not(:disabled) {
21-
cursor: pointer;
22-
}
23-
}
24-
25-
/* See https://tailwindcss.com/docs/upgrade-guide#default-border-color */
2617
:root {
2718
--header-height: calc(var(--spacing, 0.25rem) * 16);
2819
}
2920

21+
/* See https://tailwindcss.com/docs/upgrade-guide#default-border-color */
3022
*,
3123
::after,
3224
::before,
3325
::backdrop,
3426
::file-selector-button {
3527
border-color: var(--color-gray-200, currentColor);
3628
}
29+
30+
/* See https://tailwindcss.com/docs/upgrade-guide#buttons-use-the-default-cursor */
31+
button,
32+
[role='button'] {
33+
&:not(:disabled) {
34+
@apply cursor-pointer;
35+
}
36+
}
3737
}
3838

3939
@custom-variant aria-current (&[aria-current="page"]);

0 commit comments

Comments
 (0)