Skip to content

Commit ea5c1a6

Browse files
committed
fix: unread count position in action panel
1 parent e0f7bea commit ea5c1a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ts/components/icon/SessionNotificationCount.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ type Props = {
66
centeredOnTop: boolean;
77
count?: number;
88
};
9+
910
const StyledCountContainer = styled.div<{ $centeredOnTop: boolean }>`
1011
background: var(--unread-messages-alert-background-color);
1112
color: var(--unread-messages-alert-text-color);
@@ -14,7 +15,7 @@ const StyledCountContainer = styled.div<{ $centeredOnTop: boolean }>`
1415
padding: ${props => (props.$centeredOnTop ? '1px 3px 0' : '1px 4px')};
1516
1617
position: absolute;
17-
top: ${props => (props.$centeredOnTop ? '-10px' : '22px')};
18+
top: ${props => (props.$centeredOnTop ? '-10px' : '13px')};
1819
left: ${props => (props.$centeredOnTop ? '50%' : '28px')};
1920
2021
font-size: var(--font-size-xs);

0 commit comments

Comments
 (0)