From 994ebff8c1ad93a08cd2f674bf943bcfcb1c824d Mon Sep 17 00:00:00 2001 From: Viktor Renkema <49148610+viktorrenkema@users.noreply.github.com> Date: Wed, 15 Jan 2025 12:05:13 +0100 Subject: [PATCH] Remove borders on Caption wrapper (#2742) --- packages/gitbook/src/components/DocumentView/Caption.tsx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/gitbook/src/components/DocumentView/Caption.tsx b/packages/gitbook/src/components/DocumentView/Caption.tsx index 8eb125ca2c..435f8ade88 100644 --- a/packages/gitbook/src/components/DocumentView/Caption.tsx +++ b/packages/gitbook/src/components/DocumentView/Caption.tsx @@ -34,16 +34,9 @@ export function Caption( wrapperStyle = [ 'relative', 'overflow-hidden', - 'rounded', - 'straight-corners:rounded-none', 'after:block', 'after:absolute', 'after:-inset-[0]', - 'after:border-dark/2', - 'after:border', - 'after:rounded', - 'straight-corners:after:rounded-none', - 'dark:after:border-light/1', 'dark:after:mix-blend-plus-lighter', 'after:pointer-events-none', fit ? 'w-fit' : null,