File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ export default function RootLayout({
103103 </ Link >
104104 ) ) }
105105
106- < Drawer >
106+ < Drawer direction = "top" >
107107 < DrawerTrigger asChild >
108108 < div className = "size-4 md:size-5 group cursor-pointer" >
109109 < AspectRatio ratio = { 1 / 1 } >
@@ -119,7 +119,7 @@ export default function RootLayout({
119119 < WeChat />
120120 </ Drawer >
121121
122- < Drawer >
122+ < Drawer direction = "top" >
123123 < DrawerTrigger asChild >
124124 < div className = "size-4 md:size-5 group cursor-pointer" >
125125 < AspectRatio ratio = { 1 / 1 } >
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import {
2121
2222export function WeChat ( ) {
2323 return (
24- < DrawerContent >
24+ < DrawerContent className = 'pt-12 pb-6' >
2525 < DrawerHeader >
2626 < DrawerTitle >
2727 Subscribe to WeChat Public Account
@@ -48,7 +48,7 @@ export function WeChat() {
4848
4949export function WeChatGroup ( ) {
5050 return (
51- < DrawerContent >
51+ < DrawerContent className = 'pt-12 pb-6' >
5252 < DrawerHeader >
5353 < DrawerTitle >
5454 Join WeChat Group
@@ -76,7 +76,7 @@ export function WeChatGroup() {
7676
7777export function Embodied ( ) {
7878 return (
79- < DrawerContent >
79+ < DrawerContent className = 'pt-12 pb-6' >
8080 < DrawerHeader >
8181 < DrawerTitle className = 'text-xl' >
8282 Embodied AI
@@ -119,7 +119,7 @@ export function Embodied() {
119119
120120export function E2EAD ( ) {
121121 return (
122- < DrawerContent >
122+ < DrawerContent className = 'pt-12 pb-6' >
123123 < DrawerHeader >
124124 < DrawerTitle className = 'text-xl' >
125125 End-to-End Autonomous Driving
Original file line number Diff line number Diff line change @@ -149,15 +149,15 @@ export function AppSidebar() {
149149 </ CollapsibleTrigger >
150150 < CollapsibleContent >
151151 < SidebarMenuSub >
152- < Drawer >
152+ < Drawer direction = "top" >
153153 < DrawerTrigger asChild >
154154 < div className = "p-2 rounded-sm hover:bg-o-blue/3 select-none" >
155155 Embodied AI
156156 </ div >
157157 </ DrawerTrigger >
158158 < Embodied />
159159 </ Drawer >
160- < Drawer >
160+ < Drawer direction = "top" >
161161 < DrawerTrigger asChild >
162162 < div className = "p-2 rounded-sm hover:bg-o-blue/3 select-none" >
163163 End-to-End AD
You can’t perform that action at this time.
0 commit comments