Skip to content

Commit 10306ec

Browse files
authored
fix: Set overflow-x-auto in Dashboard.vue and overflow-x-hidden in AppSidebarLayout.vue (#149)
1 parent 9f84d89 commit 10306ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

resources/js/layouts/app/AppSidebarLayout.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ withDefaults(defineProps<Props>(), {
1717
<template>
1818
<AppShell variant="sidebar">
1919
<AppSidebar />
20-
<AppContent variant="sidebar">
20+
<AppContent variant="sidebar" class="overflow-x-hidden">
2121
<AppSidebarHeader :breadcrumbs="breadcrumbs" />
2222
<slot />
2323
</AppContent>

resources/js/pages/Dashboard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const breadcrumbs: BreadcrumbItem[] = [
1616
<Head title="Dashboard" />
1717

1818
<AppLayout :breadcrumbs="breadcrumbs">
19-
<div class="flex h-full flex-1 flex-col gap-4 rounded-xl p-4">
19+
<div class="flex h-full flex-1 flex-col gap-4 rounded-xl p-4 overflow-x-auto">
2020
<div class="grid auto-rows-min gap-4 md:grid-cols-3">
2121
<div class="relative aspect-video overflow-hidden rounded-xl border border-sidebar-border/70 dark:border-sidebar-border">
2222
<PlaceholderPattern />

0 commit comments

Comments
 (0)