fix: add empty space for notification mark read
mark-as-read added 8px width which caused layout shift so i added empty space to compensate for it
This commit is contained in:
parent
5ef8577cff
commit
0a7cdc74d3
1 changed files with 10 additions and 10 deletions
|
|
@ -139,18 +139,18 @@
|
|||
justify-content: space-between;
|
||||
|
||||
&.unread {
|
||||
&:hover {
|
||||
.mark-as-read {
|
||||
flex-shrink: 0;
|
||||
align-self: center;
|
||||
justify-self: end;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border: 2px solid var(--invert-neutral);
|
||||
border-radius: 1000px;
|
||||
}
|
||||
.mark-as-read {
|
||||
flex-shrink: 0;
|
||||
align-self: center;
|
||||
justify-self: end;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
&:hover .mark-as-read {
|
||||
border: 2px solid var(--invert-neutral);
|
||||
border-radius: 1000px;
|
||||
}
|
||||
.notification-body::before {
|
||||
background: var(--invert-neutral);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue