@@ -527,7 +527,7 @@ const Preview = ({ file, handleUpload, handleDelete, onClick }: PreviewProps) =>
return (
+
- $q.setSize($q.size + 1)}
- />
- }
- {...props}
- >
- {children
- ? (props) => (
-
- {children}
-
- )
- : undefined}
-
-
+
$q.setSize($q.size + 1)}
+ />
+ }
+ {...props}
+ >
+ {children
+ ? (props) => (
+
+ {children}
+
+ )
+ : undefined}
+
);
}
diff --git a/app/src/ui/layouts/AppShell/AppShell.tsx b/app/src/ui/layouts/AppShell/AppShell.tsx
index 16cfc8b..5d61bbf 100644
--- a/app/src/ui/layouts/AppShell/AppShell.tsx
+++ b/app/src/ui/layouts/AppShell/AppShell.tsx
@@ -99,7 +99,7 @@ export function Main({ children }) {
export function Sidebar({ children }) {
const open = appShellStore((store) => store.sidebarOpen);
const close = appShellStore((store) => store.closeSidebar);
- const ref = useClickOutside(close, null, [document.getElementById("header")]);
+ const ref = useClickOutside(close, ["mouseup", "touchend"]); //, [document.getElementById("header")]);
const [location] = useLocation();
const closeHandler = () => {
diff --git a/app/src/ui/layouts/AppShell/Header.tsx b/app/src/ui/layouts/AppShell/Header.tsx
index a942171..4093094 100644
--- a/app/src/ui/layouts/AppShell/Header.tsx
+++ b/app/src/ui/layouts/AppShell/Header.tsx
@@ -107,7 +107,7 @@ export function HeaderNavigation() {
function SidebarToggler() {
const toggle = appShellStore((store) => store.toggleSidebar);
const open = appShellStore((store) => store.sidebarOpen);
- return
;
+ return ;
}
export function Header({ hasSidebar = true }) {
diff --git a/app/src/ui/routes/data/data.schema.$entity.tsx b/app/src/ui/routes/data/data.schema.$entity.tsx
index 8b493dc..e93d7f2 100644
--- a/app/src/ui/routes/data/data.schema.$entity.tsx
+++ b/app/src/ui/routes/data/data.schema.$entity.tsx
@@ -103,7 +103,7 @@ export function DataSchemaEntity({ params }) {
path={[{ label: "Schema", href: "/" }, { label: entity.label }]}
backTo="/"
/>
-
+