File tree Expand file tree Collapse file tree 2 files changed +11
-20
lines changed
packages/webapp/src/styles Expand file tree Collapse file tree 2 files changed +11
-20
lines changed Original file line number Diff line number Diff line change 7878
7979// Unread message count badge
8080.ha-chat-btn [data-unread-count ]:not ([data-unread-count = ' ' ]) {
81- // Hide the chat icon when showing count
82- .chatLeft {
83- display : none ;
84- }
85-
8681 // Show count inside button
8782 & ::before {
8883 content : attr (data-unread-count );
8984 color : #fff ;
90- font-weight : 600 ;
91- font-size : 12px ;
85+ font-weight : semibold;
9286 display : flex ;
9387 align-items : center ;
9488 justify-content : center ;
89+ transform : none ;
90+ opacity : 1 ;
91+ background-color : red !important ;
92+ font-size : 16px ;
93+ top : 0px ;
94+ right : 0px ;
95+ left : 23px ;
96+ }
97+ & ::after {
98+ display : none ;
9599 }
96100}
Original file line number Diff line number Diff line change @@ -305,19 +305,6 @@ $bg-root: #f8f9fa;
305305 & [data-unread-count ] {
306306 visibility : visible ;
307307 }
308- & [data-unread-count ]::after {
309- content : attr (data-unread-count );
310- position : absolute ;
311- top : -2px ;
312- right : -2px ;
313- background : red ;
314- color : white ;
315- border-radius : 50% ;
316- font-size : 14px ;
317- min-width : 24px ;
318- text-align : center ;
319- padding : 2px 4px ;
320- }
321308 svg {
322309 position : relative ;
323310 top : 1px ;
You can’t perform that action at this time.
0 commit comments