Skip to content

Build your personal knowledge base with Trilium Notes

client/fluid container: fix a bug

Adorian Dorane624c204ff16
diff --git a/apps/client/src/widgets/react/FluidWrapper.tsx b/apps/client/src/widgets/react/FluidWrapper.tsx
index f11389c471..09f47ff55e 100644
--- a/apps/client/src/widgets/react/FluidWrapper.tsx
+++ b/apps/client/src/widgets/react/FluidWrapper.tsx
@@ -35,7 +35,9 @@ export function FluidWrapper({className, breakpoints, children}: FluidWrapperPar
return () => observer.disconnect();
}, [sortedBreakpoints]);
- return <div ref={ref} className={clsx("fluid-container", className, activeBreakpoint)}>
- {children}
+ return <div ref={ref} className="fluid-container">
+ <div className={clsx(className, activeBreakpoint)}>
+ {children}
+ </div>
</div>
}
\ No newline at end of file