Skip to content

Commit

Permalink
fix: avatar component online indicator z-index
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed May 14, 2021
1 parent 75e9b57 commit 5d7efe4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/styled/avatar.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
&.online{
&:before{
content: '';
@apply block w-2 h-2 bg-success rounded-full ring ring-base-100 ring-offset-base-100 absolute;
@apply block w-2 h-2 bg-success rounded-full ring ring-base-100 ring-offset-base-100 absolute z-10;
top: 5%;
right: 5%;
}
}
&.offline{
&:before{
content: '';
@apply block w-2 h-2 bg-base-300 rounded-full ring ring-base-100 ring-offset-base-100 absolute;
@apply block w-2 h-2 bg-base-300 rounded-full ring ring-base-100 ring-offset-base-100 absolute z-10;
top: 5%;
right: 5%;
}
Expand Down

0 comments on commit 5d7efe4

Please sign in to comment.