mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 09:46:09 +03:00
Prevent timeline flickering on hover
This commit is contained in:
parent
ef8d2e8257
commit
78a9117598
1 changed files with 12 additions and 8 deletions
|
@ -38,18 +38,22 @@ limitations under the License.
|
|||
padding-top: 0;
|
||||
}
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -1px;
|
||||
bottom: -1px;
|
||||
left: -60px;
|
||||
right: -60px;
|
||||
z-index: -1;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&.mx_EventTile_selected {
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -1px;
|
||||
bottom: -1px;
|
||||
left: -60px;
|
||||
right: -60px;
|
||||
z-index: -1;
|
||||
background: $eventbubble-bg-hover;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.mx_EventTile_avatar {
|
||||
|
|
Loading…
Reference in a new issue