Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit f0a0d7f

Browse files
committed
Fix add reactions prompt button jumping timeline if font set lower than default
1 parent b065142 commit f0a0d7f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

res/css/views/messages/_ReactionsRow.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ limitations under the License.
2020

2121
.mx_ReactionsRow_addReactionButton {
2222
position: relative;
23-
display: none; // show on hover of the .mx_EventTile
23+
display: inline-block;
24+
visibility: hidden; // show on hover of the .mx_EventTile
2425
width: 24px;
2526
height: 24px;
2627
vertical-align: middle;
@@ -39,7 +40,7 @@ limitations under the License.
3940
}
4041

4142
&.mx_ReactionsRow_addReactionButton_active {
42-
display: inline-block; // keep showing whilst the context menu is shown
43+
visibility: visible; // keep showing whilst the context menu is shown
4344
}
4445

4546
&:hover, &.mx_ReactionsRow_addReactionButton_active {
@@ -51,7 +52,7 @@ limitations under the License.
5152
}
5253

5354
.mx_EventTile:hover .mx_ReactionsRow_addReactionButton {
54-
display: inline-block;
55+
visibility: visible;
5556
}
5657

5758
.mx_ReactionsRow_showAll {

0 commit comments

Comments
 (0)