fix(editor): Fix NDV panels size on narrow screens (#13708)

This commit is contained in:
Milorad FIlipović
2025-03-11 12:24:00 +01:00
committed by GitHub
parent ec76505a87
commit 899f6c9824
5 changed files with 42 additions and 24 deletions

View File

@@ -61,7 +61,8 @@ const logHiringBanner = () => {
const updateGridWidth = async () => {
await nextTick();
if (appGrid.value) {
uiStore.appGridWidth = appGrid.value.clientWidth;
const { width, height } = appGrid.value.getBoundingClientRect();
uiStore.appGridDimensions = { width, height };
}
};