File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ const StyledCountContainer = styled.div<{ shouldRender: boolean }>`
11
11
line-height: 1.2;
12
12
top: 27px;
13
13
left: 28px;
14
- padding: 1px 4px ;
14
+ padding: 1px 1px ;
15
15
opacity: 1;
16
16
display: flex;
17
17
align-items: center;
@@ -33,19 +33,8 @@ const StyledCount = styled.div`
33
33
34
34
export const SessionNotificationCount = ( props : Props ) => {
35
35
const { count } = props ;
36
- const overflow = Boolean ( count && count > 99 ) ;
37
36
const shouldRender = Boolean ( count && count > 0 ) ;
38
37
39
- if ( overflow ) {
40
- return (
41
- < StyledCountContainer shouldRender = { shouldRender } >
42
- < StyledCount >
43
- { 99 }
44
- < span > +</ span >
45
- </ StyledCount >
46
- </ StyledCountContainer >
47
- ) ;
48
- }
49
38
return (
50
39
< StyledCountContainer shouldRender = { shouldRender } >
51
40
< StyledCount > { count } </ StyledCount >
You can’t perform that action at this time.
0 commit comments