File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 99 :aria-hidden =" ariaHidden"
1010 :aria-label =" ariaLabel" >
1111 <img class =" app-menu-icon__icon" :src =" app.icon" alt =" " >
12- <IconDot v-if =" app.unread" class =" app-menu-icon__unread" :size =" 10" />
12+ <IconDot v-if =" ! app.unread" class =" app-menu-icon__unread" :size =" 10" />
1313 </span >
1414</template >
1515
@@ -56,8 +56,9 @@ $unread-indicator-size: 10px;
5656 & __unread {
5757 color : var (--color-error );
5858 position : absolute ;
59- inset-block-end : calc ($unread-indicator-size / -2.5 );
60- inset-inline-end : calc ($unread-indicator-size / -2.5 );
59+ // Align the dot to the top right corner of the icon
60+ inset-block-end : calc ($icon-size + ($unread-indicator-size / -2 ));
61+ inset-inline-end : calc ($unread-indicator-size / -2 );
6162 transition : all 0.1s ease-in-out ;
6263 }
6364}
You can’t perform that action at this time.
0 commit comments