Fix add reactions prompt button jumping timeline if font set lower than default
This commit is contained in:
parent
b06514273f
commit
f0a0d7f998
1 changed files with 4 additions and 3 deletions
|
@ -20,7 +20,8 @@ limitations under the License.
|
||||||
|
|
||||||
.mx_ReactionsRow_addReactionButton {
|
.mx_ReactionsRow_addReactionButton {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: none; // show on hover of the .mx_EventTile
|
display: inline-block;
|
||||||
|
visibility: hidden; // show on hover of the .mx_EventTile
|
||||||
width: 24px;
|
width: 24px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
@ -39,7 +40,7 @@ limitations under the License.
|
||||||
}
|
}
|
||||||
|
|
||||||
&.mx_ReactionsRow_addReactionButton_active {
|
&.mx_ReactionsRow_addReactionButton_active {
|
||||||
display: inline-block; // keep showing whilst the context menu is shown
|
visibility: visible; // keep showing whilst the context menu is shown
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover, &.mx_ReactionsRow_addReactionButton_active {
|
&:hover, &.mx_ReactionsRow_addReactionButton_active {
|
||||||
|
@ -51,7 +52,7 @@ limitations under the License.
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_EventTile:hover .mx_ReactionsRow_addReactionButton {
|
.mx_EventTile:hover .mx_ReactionsRow_addReactionButton {
|
||||||
display: inline-block;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_ReactionsRow_showAll {
|
.mx_ReactionsRow_showAll {
|
||||||
|
|
Loading…
Reference in a new issue