Skip to content

Commit

Permalink
Merge pull request #8262 from RocketChat/hover-mentions
Browse files Browse the repository at this point in the history
[FIX] make sidebar item animation fast
  • Loading branch information
engelgabriel authored Sep 23, 2017
2 parents 2ab3b48 + 2614cc0 commit 9e92e61
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
background-color: var(--color-dark-light);
}

&--unread {
& .sidebar-item__menu {
transition: margin 0.1s;
}
}

&--darken {
&:hover {
background-color: var(--sidebar-item-darken-hover-background);
Expand Down Expand Up @@ -133,8 +139,6 @@
margin: 0 -15px;
padding: 6px;

transition: margin 0.2s 0.3s;

&-icon {
fill: var(--color-white);
}
Expand Down

0 comments on commit 9e92e61

Please sign in to comment.