mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 15:35:55 +01:00
🐛 Fix issue with sidebar min size
This commit is contained in:
@@ -75,6 +75,7 @@ export const useGridstack = (
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
if (areaType === 'sidebar') return;
|
||||
const widgetWidth = mainAreaWidth / wrapperColumnCount;
|
||||
// widget width is used to define sizes of gridstack items within global.scss
|
||||
root.style.setProperty('--gridstack-widget-width', widgetWidth.toString());
|
||||
|
||||
Reference in New Issue
Block a user