From 09d47011e977ef988c1bee4c33cd8dceae161439 Mon Sep 17 00:00:00 2001 From: orlinmalkja Date: Mon, 6 Jan 2025 17:27:39 +0100 Subject: [PATCH] fix: popover now covers the image action buttons --- src/components/CustomHTML.tsx | 2 +- src/components/panel/PanelTopBar.tsx | 4 ++-- src/components/panel/TextViewsToggle.tsx | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/CustomHTML.tsx b/src/components/CustomHTML.tsx index 35d73886..2413c956 100644 --- a/src/components/CustomHTML.tsx +++ b/src/components/CustomHTML.tsx @@ -24,7 +24,7 @@ const CustomHTML: FC = ({ textHtml, width, icon }) => { const iconEls = ref.current.children if (iconEls && iconEls.length > 0) { iconEl = iconEls[0] - iconEl.classList.add('t-w-'+icon.width, 't-h-'+icon.height) + iconEl.classList.add('t-w-' + icon.width, 't-h-' + icon.height) } } } diff --git a/src/components/panel/PanelTopBar.tsx b/src/components/panel/PanelTopBar.tsx index fd8a5165..b5fe66ad 100644 --- a/src/components/panel/PanelTopBar.tsx +++ b/src/components/panel/PanelTopBar.tsx @@ -19,9 +19,9 @@ const PanelTopBar: FC = ({panelId}) => {
- + - +
Enter a collection/manifest Url diff --git a/src/components/panel/TextViewsToggle.tsx b/src/components/panel/TextViewsToggle.tsx index 4759dbe2..53bcae4f 100644 --- a/src/components/panel/TextViewsToggle.tsx +++ b/src/components/panel/TextViewsToggle.tsx @@ -35,12 +35,12 @@ const TextViewsToggle: FC = ({panelId}) => { const buttons = Object.keys(textViewsIcons).map((title, i) => ( ));