mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-23 19:05:16 +02:00
refactor(header, layout): simplify header component by removing unused tabs and mobile checks; enhance RightPanel and LayoutShell with improved styling and sidebar functionality
This commit is contained in:
parent
360e21eee4
commit
65f3916fc3
6 changed files with 59 additions and 44 deletions
|
|
@ -1207,7 +1207,7 @@ function AuthenticatedDocumentsSidebarBase({
|
|||
|
||||
const documentsContent = (
|
||||
<>
|
||||
<div className="shrink-0 flex h-12 items-center px-4">
|
||||
<div className="shrink-0 flex h-12 items-center px-3 border-b">
|
||||
<div className="flex w-full items-center justify-between">
|
||||
<div className="flex items-center gap-3">
|
||||
{isMobile && (
|
||||
|
|
@ -1692,7 +1692,7 @@ function AnonymousDocumentsSidebar({
|
|||
/>
|
||||
|
||||
{/* Header */}
|
||||
<div className="shrink-0 flex h-12 items-center px-4">
|
||||
<div className="shrink-0 flex h-12 items-center px-3 border-b">
|
||||
<div className="flex w-full items-center justify-between">
|
||||
<div className="flex items-center gap-2">
|
||||
<h2 className="select-none text-base font-semibold">{t("title") || "Documents"}</h2>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue