feat: responsive for web with sidebar and different styling for test ui on web
This commit is contained in:
@ -244,7 +244,14 @@ function Sidebar({
|
||||
<div
|
||||
data-sidebar="sidebar"
|
||||
data-slot="sidebar-inner"
|
||||
className="bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm"
|
||||
className={cn(
|
||||
"flex h-full w-full flex-col",
|
||||
// For the custom floating pill sidebar we render our own card,
|
||||
// so keep this container visually transparent.
|
||||
variant === "floating"
|
||||
? "bg-transparent"
|
||||
: "bg-sidebar group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm"
|
||||
)}
|
||||
>
|
||||
{children}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user