We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2860bea commit e7a591dCopy full SHA for e7a591d
.changeset/tame-mangos-battle.md
@@ -0,0 +1,5 @@
1
+---
2
+"gitbook": patch
3
4
+
5
+Fix border being added to cards
packages/gitbook/src/components/primitives/Link.tsx
@@ -106,10 +106,7 @@ export const LinkOverlay = React.forwardRef(function LinkOverlay(
106
<Link
107
ref={ref}
108
{...domProps}
109
- className={tcls(
110
- 'link-overlay static before:absolute before:top-0 before:left-0 before:z-10 before:h-full before:w-full',
111
- className
112
- )}
+ className={tcls('link-overlay absolute inset-0 z-10', className)}
113
>
114
{children}
115
</Link>
0 commit comments