Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit d2ebcb7

Browse files
feat: add slot top and bottom to contrast detection
1 parent b5f7eed commit d2ebcb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

studio/src/app/components/editor/app-slide-contrast/app-slide-contrast.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export class AppSlideContrast {
5757
}
5858

5959
const slots: NodeListOf<HTMLElement> = slide.querySelectorAll(
60-
'[slot="title"]:not(:empty),[slot="content"]:not(:empty),[slot="start"]:not(:empty),[slot="end"]:not(:empty),[slot="header"]:not(:empty),[slot="footer"]:not(:empty),[slot="author"]:not(:empty),deckgo-drr > section:not(:empty)'
60+
'[slot="title"]:not(:empty),[slot="content"]:not(:empty),[slot="start"]:not(:empty),[slot="end"]:not(:empty),[slot="header"]:not(:empty),[slot="footer"]:not(:empty),[slot="author"]:not(:empty),[slot="top"]:not(:empty),[slot="bottom"]:not(:empty),deckgo-drr > section:not(:empty)'
6161
);
6262

6363
if (!slots || slots.length <= 0) {

0 commit comments

Comments
 (0)