Skip to content

Commit f65c5ca

Browse files
committed
fix(frontend): height for dashboard view
1 parent e2d09fb commit f65c5ca

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

frontend/src/components/ui/sidebar/SidebarProvider.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,7 @@ provideSidebarContext({
8484
'--sidebar-width-icon': SIDEBAR_WIDTH_ICON,
8585
}"
8686
:class="
87-
cn(
88-
'group/sidebar-wrapper flex min-h-svh w-full has-[[data-variant=inset]]:bg-sidebar',
89-
props.class,
90-
)
87+
cn('group/sidebar-wrapper flex w-full has-[[data-variant=inset]]:bg-sidebar', props.class)
9188
"
9289
v-bind="$attrs"
9390
>

frontend/src/layouts/Dashboard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { SidebarProvider } from '@/components/ui/sidebar'
99
<Header />
1010
<SidebarProvider class="mt-14">
1111
<AppSidebar />
12-
<div class="h-full w-dvw">
12+
<div class="w-dvw">
1313
<RouterView />
1414
</div>
1515
</SidebarProvider>
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<script setup lang="ts">
22
import { useHead } from '@unhead/vue'
33
4-
import Dashboard from '@/layouts/Dashboard.vue'
5-
64
useHead({
75
title: 'Dashboard',
86
})
97
</script>
108

11-
<template></template>
9+
<template>
10+
<h1>Hello world!</h1>
11+
</template>

0 commit comments

Comments
 (0)