File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,15 @@ import { cn } from "utils/cn";
6
6
7
7
export const linkVariants = cva (
8
8
`relative inline-flex items-center no-underline font-medium text-content-link hover:cursor-pointer
9
- after:hover:content-[''] after:hover:absolute after:hover:left-0 after:hover:w-full after:hover:h-[1px] after:hover:bg-current after:hover:bottom-px
9
+ after:hover:content-[''] after:hover:absolute after:hover:left-0 after:hover:w-full after:hover:h-px after:hover:bg-current after:hover:bottom-px
10
10
focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-content-link
11
11
focus-visible:ring-offset-2 focus-visible:ring-offset-surface-primary focus-visible:rounded-sm
12
- visited:text-content-link pl-[2px] ` , //pl-[2px] adjusts the underline spacing to align with the icon on the right.
12
+ visited:text-content-link pl-0.5 ` , //pl-[2px] adjusts the underline spacing to align with the icon on the right.
13
13
{
14
14
variants : {
15
15
size : {
16
- lg : "text-sm gap-[2px] [&_svg]:size-icon-sm [&_svg]:p-[2px] leading-6" ,
17
- sm : "text-xs gap-1 [&_svg]:size-icon-xs [&_svg]:p-[1px] leading-[18px]" ,
16
+ lg : "text-sm gap-0.5 [&_svg]:size-icon-sm [&_svg]:p-0.5 leading-6" ,
17
+ sm : "text-xs gap-1 [&_svg]:size-icon-xs [&_svg]:p-px leading-[18px]" ,
18
18
} ,
19
19
} ,
20
20
defaultVariants : {
You can’t perform that action at this time.
0 commit comments