diff --git a/frontend/src/assets/styles/global.css b/frontend/src/assets/styles/global.css index 65455a4..f58288d 100644 --- a/frontend/src/assets/styles/global.css +++ b/frontend/src/assets/styles/global.css @@ -39,7 +39,6 @@ body { padding: 0; width: 100%; height: 100%; - overflow: hidden; } body::before { diff --git a/frontend/src/components/general/Sidebar.vue b/frontend/src/components/general/Sidebar.vue index 40c1734..9a8bb11 100644 --- a/frontend/src/components/general/Sidebar.vue +++ b/frontend/src/components/general/Sidebar.vue @@ -14,7 +14,7 @@ const appInfo = useDialog('app-info') const appStore = useAppStore() const { sidebarExpanded, - sidebarWidth + sidebarWidthPx } = storeToRefs(appStore) const Dashboard = () => router.push('/') @@ -145,7 +145,7 @@ const ModDevTools = () => router.push('/mod-dev-tools') align-items: center; position: fixed; z-index: 999; - width: v-bind(sidebarWidth); + width: v-bind(sidebarWidthPx); } .collapsed { diff --git a/frontend/src/components/reusable/Viewport.vue b/frontend/src/components/reusable/Viewport.vue index f393c4c..3a03505 100644 --- a/frontend/src/components/reusable/Viewport.vue +++ b/frontend/src/components/reusable/Viewport.vue @@ -4,10 +4,9 @@ import { useAppStore } from '@stores' const appStore = useAppStore() const { - sidebarWidth + sidebarOffsetPx, + topbarHeight } = storeToRefs(appStore) - -const topbarHeight = '30px'