mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 08:46:22 +02:00
refactor: update sidebar components for improved styling and consistency
- Removed unused type import from `AllPrivateChatsSidebar` and `AllSharedChatsSidebar`. - Adjusted class names for icons in sidebar components to enhance visual consistency. - Updated `SidebarSection` to remove unnecessary gap classes for cleaner layout. - Changed sync version in `client.ts` to v2 for user-specific database architecture. - Modified search chat placeholder text in `en.json` for clarity.
This commit is contained in:
parent
351f6eb23d
commit
aea3040271
6 changed files with 13 additions and 15 deletions
|
|
@ -37,14 +37,14 @@ export function SidebarSection({
|
|||
|
||||
{/* Action button - visible on hover (always visible on mobile) */}
|
||||
{action && (
|
||||
<div className="shrink-0 opacity-0 group-hover/section:opacity-100 transition-opacity pr-1 flex items-center gap-0.5">
|
||||
<div className="shrink-0 opacity-0 group-hover/section:opacity-100 transition-opacity pr-1 flex items-center">
|
||||
{action}
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Persistent action - always visible */}
|
||||
{persistentAction && (
|
||||
<div className="shrink-0 pr-1 flex items-center gap-0.5">{persistentAction}</div>
|
||||
<div className="shrink-0 pr-1 flex items-center">{persistentAction}</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue