Timothy Jaeryang Baek 2 月之前
父節點
當前提交
d2c7a60a43
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/routes/(app)/admin/+layout.svelte

+ 2 - 2
src/routes/(app)/admin/+layout.svelte

@@ -27,9 +27,9 @@
 
 
 {#if loaded}
 {#if loaded}
 	<div
 	<div
-		class=" flex flex-col w-full h-screen max-h-[100dvh] transition-width duration-200 ease-in-out {$showSidebar
+		class=" flex flex-col h-screen max-h-[100dvh] flex-1 transition-width duration-200 ease-in-out {$showSidebar
 			? 'md:max-w-[calc(100%-260px)]'
 			? 'md:max-w-[calc(100%-260px)]'
-			: ''} max-w-full"
+			: ' md:max-w-[calc(100%-49px)]'}  w-full max-w-full"
 	>
 	>
 		<nav class="   px-2.5 pt-1.5 backdrop-blur-xl drag-region">
 		<nav class="   px-2.5 pt-1.5 backdrop-blur-xl drag-region">
 			<div class=" flex items-center gap-1">
 			<div class=" flex items-center gap-1">