mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-12 22:42:13 +02:00
refactor(sidebar): simplify NotificationsDropdown aria-label and adjust Sidebar layout
- Updated aria-label in NotificationsDropdown for improved accessibility and clarity. - Adjusted Sidebar layout to enhance spacing and visual consistency.
This commit is contained in:
parent
803577436f
commit
c31f72e5bb
2 changed files with 2 additions and 6 deletions
|
|
@ -274,11 +274,7 @@ export function NotificationsDropdown({
|
|||
type="button"
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
aria-label={
|
||||
notifications.totalUnreadCount > 0
|
||||
? `Notifications, ${unreadLabel} unread`
|
||||
: "Notifications"
|
||||
}
|
||||
aria-label="Notifications"
|
||||
className={cn(
|
||||
"relative h-10 w-10 rounded-lg text-muted-foreground hover:bg-accent hover:text-accent-foreground",
|
||||
open && "bg-accent text-accent-foreground"
|
||||
|
|
|
|||
|
|
@ -201,7 +201,7 @@ export function Sidebar({
|
|||
|
||||
<div
|
||||
className={cn(
|
||||
"relative flex flex-col gap-0.5 pt-1.5 pb-0 after:absolute after:inset-x-3 after:bottom-0 after:h-px after:bg-border after:transition-opacity",
|
||||
"relative flex flex-col gap-0.5 pt-1.5 pb-0 after:absolute after:inset-x-0 after:bottom-0 after:h-px after:bg-border after:transition-opacity",
|
||||
isSidebarNavScrolled ? "after:opacity-100" : "after:opacity-0"
|
||||
)}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue