mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-10 22:32:16 +02:00
refactor(sidebar): enhance MobileSidebar and SidebarUserProfile UI
- Updated MobileSidebar to include a right border for improved visual separation. - Modified SidebarUserProfile to add a relative positioning and a top border for better layout consistency.
This commit is contained in:
parent
c12790f091
commit
80a6b05478
2 changed files with 2 additions and 2 deletions
|
|
@ -176,7 +176,7 @@ export function MobileSidebar({
|
|||
</div>
|
||||
|
||||
{/* Sidebar Content - right side */}
|
||||
<div className="flex-1 overflow-hidden flex flex-col [&>*]:!w-full">
|
||||
<div className="flex-1 overflow-hidden flex flex-col border-r [&>*]:!w-full">
|
||||
<Sidebar
|
||||
workspace={workspace}
|
||||
isCollapsed={false}
|
||||
|
|
|
|||
|
|
@ -172,7 +172,7 @@ export function SidebarUserProfile({
|
|||
// Collapsed view - just show avatar with dropdown
|
||||
if (isCollapsed) {
|
||||
return (
|
||||
<div className="w-full border-t px-1.5 py-2">
|
||||
<div className="relative w-full px-1.5 py-2 before:absolute before:inset-x-3 before:top-0 before:h-px before:bg-border">
|
||||
<div className="flex flex-col items-center gap-2">
|
||||
{topContent}
|
||||
{showDownloadCta && (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue