mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 16:56:22 +02:00
fix: adjust width of DocumentsSidebar for better layout consistency; change from 480px to 380px in both docked and mobile views
This commit is contained in:
parent
5ecf4e3e9d
commit
ccde9d23f0
1 changed files with 2 additions and 2 deletions
|
|
@ -236,7 +236,7 @@ export function DocumentsSidebar({ open, onOpenChange, isDocked = false, onDocke
|
|||
if (isDocked && open && !isMobile) {
|
||||
return (
|
||||
<aside
|
||||
className="h-full w-[480px] shrink-0 bg-sidebar text-sidebar-foreground flex flex-col border-r"
|
||||
className="h-full w-[380px] shrink-0 bg-sidebar text-sidebar-foreground flex flex-col border-r"
|
||||
aria-label={t("title") || "Documents"}
|
||||
>
|
||||
{documentsContent}
|
||||
|
|
@ -249,7 +249,7 @@ export function DocumentsSidebar({ open, onOpenChange, isDocked = false, onDocke
|
|||
open={open}
|
||||
onOpenChange={onOpenChange}
|
||||
ariaLabel={t("title") || "Documents"}
|
||||
width={isMobile ? undefined : 480}
|
||||
width={isMobile ? undefined : 380}
|
||||
>
|
||||
{documentsContent}
|
||||
</SidebarSlideOutPanel>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue