Merge pull request #6499 from matrix-org/gsouquet/fix-18195

Prevent timeline flickering on hover
This commit is contained in:
Germain
2021-07-29 14:33:34 +01:00
committed by GitHub
+7 -3
View File
@@ -38,8 +38,6 @@ limitations under the License.
padding-top: 0;
}
&:hover,
&.mx_EventTile_selected {
&::before {
content: '';
position: absolute;
@@ -48,10 +46,16 @@ limitations under the License.
left: -60px;
right: -60px;
z-index: -1;
background: $eventbubble-bg-hover;
border-radius: 4px;
}
&:hover,
&.mx_EventTile_selected {
&::before {
background: $eventbubble-bg-hover;
}
.mx_EventTile_avatar {
img {
box-shadow: 0 0 0 3px $eventbubble-bg-hover;