ui : fix ui clipping in mobile due to incorrect height setup (#24605)
This commit is contained in:
@@ -41,7 +41,7 @@
|
|||||||
data-slot="sidebar-wrapper"
|
data-slot="sidebar-wrapper"
|
||||||
style="--sidebar-width: {sidebar.sidebarWidth}; --sidebar-min-width: {SIDEBAR_MIN_WIDTH}; --sidebar-max-width: {SIDEBAR_MAX_WIDTH}; --sidebar-width-icon: {SIDEBAR_WIDTH_ICON}; {style}"
|
style="--sidebar-width: {sidebar.sidebarWidth}; --sidebar-min-width: {SIDEBAR_MIN_WIDTH}; --sidebar-max-width: {SIDEBAR_MAX_WIDTH}; --sidebar-width-icon: {SIDEBAR_WIDTH_ICON}; {style}"
|
||||||
class={cn(
|
class={cn(
|
||||||
'group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar',
|
'group/sidebar-wrapper flex flex-col min-h-svh w-full has-data-[variant=inset]:bg-sidebar',
|
||||||
className
|
className
|
||||||
)}
|
)}
|
||||||
bind:this={ref}
|
bind:this={ref}
|
||||||
|
|||||||
@@ -312,7 +312,7 @@
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<Sidebar.Provider bind:open={sidebarOpen}>
|
<Sidebar.Provider bind:open={sidebarOpen}>
|
||||||
<div class="flex h-screen w-full">
|
<div class="flex h-full w-full grow">
|
||||||
<Sidebar.Root variant="floating" class="h-full"
|
<Sidebar.Root variant="floating" class="h-full"
|
||||||
><SidebarNavigation bind:this={chatSidebar} /></Sidebar.Root
|
><SidebarNavigation bind:this={chatSidebar} /></Sidebar.Root
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user