diff --git a/e2e/pages.spec.ts b/e2e/pages.spec.ts index 4b1c70dcd1..fc91608ab8 100644 --- a/e2e/pages.spec.ts +++ b/e2e/pages.spec.ts @@ -125,6 +125,7 @@ const testCases: TestsCase[] = [ name: 'Images', url: 'blocks/block-images', run: waitForCookiesDialog, + fullPage: true, }, { name: 'Inline Images', diff --git a/src/components/DocumentView/Caption.tsx b/src/components/DocumentView/Caption.tsx index 61b0ffcbd7..df6df549e0 100644 --- a/src/components/DocumentView/Caption.tsx +++ b/src/components/DocumentView/Caption.tsx @@ -43,6 +43,7 @@ export function Caption( 'dark:after:border-light/1', 'dark:after:mix-blend-plus-lighter', 'after:pointer-events-none', + 'w-fit', ], style, } = props; @@ -60,7 +61,7 @@ export function Caption( return ( -
{children}
+
{children}