diff --git a/client/src/App.jsx b/client/src/App.jsx index e3e5cce..c60c2f9 100644 --- a/client/src/App.jsx +++ b/client/src/App.jsx @@ -19,6 +19,12 @@ function App() { opacity: 1 !important; border-radius: 5px; } + + .react-resizable-handle-se { + position: sticky; + right: 0; + bottom: 0; + } `} /> - + + {title} - + This is the widget content - drag or resize me! diff --git a/client/src/components/layout/Canvas/views/WidgetCanvas.jsx b/client/src/components/layout/Canvas/views/WidgetCanvas.jsx index f30b150..ba57e32 100644 --- a/client/src/components/layout/Canvas/views/WidgetCanvas.jsx +++ b/client/src/components/layout/Canvas/views/WidgetCanvas.jsx @@ -35,7 +35,7 @@ export default function WidgetCanvas() { }; return ( - + {layout.map((item) => ( - + ))} diff --git a/client/src/theme.js b/client/src/theme.js index 31dbac5..f2fb2ca 100644 --- a/client/src/theme.js +++ b/client/src/theme.js @@ -59,6 +59,7 @@ const widgetRecipe = defineSlotRecipe({ border: "1px solid", borderColor: "{base300}", textAlign: "center", + overflow: "auto" }, header: { bg: "base100",