mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-03 04:42:39 +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) {
|
if (isDocked && open && !isMobile) {
|
||||||
return (
|
return (
|
||||||
<aside
|
<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"}
|
aria-label={t("title") || "Documents"}
|
||||||
>
|
>
|
||||||
{documentsContent}
|
{documentsContent}
|
||||||
|
|
@ -249,7 +249,7 @@ export function DocumentsSidebar({ open, onOpenChange, isDocked = false, onDocke
|
||||||
open={open}
|
open={open}
|
||||||
onOpenChange={onOpenChange}
|
onOpenChange={onOpenChange}
|
||||||
ariaLabel={t("title") || "Documents"}
|
ariaLabel={t("title") || "Documents"}
|
||||||
width={isMobile ? undefined : 480}
|
width={isMobile ? undefined : 380}
|
||||||
>
|
>
|
||||||
{documentsContent}
|
{documentsContent}
|
||||||
</SidebarSlideOutPanel>
|
</SidebarSlideOutPanel>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue