Set cursor for each pill type separately

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-07-12 12:41:58 +02:00
parent b79f2d0699
commit 48a6a83745
No known key found for this signature in database
GPG key ID: 9760693FDD98A790

View file

@ -47,7 +47,6 @@ limitations under the License.
&.mx_BasicMessageComposer_input_shouldShowPillAvatar { &.mx_BasicMessageComposer_input_shouldShowPillAvatar {
span.mx_UserPill, span.mx_RoomPill { span.mx_UserPill, span.mx_RoomPill {
position: relative; position: relative;
cursor: pointer;
// avatar psuedo element // avatar psuedo element
&::before { &::before {
@ -66,6 +65,14 @@ limitations under the License.
font-size: $font-10-4px; font-size: $font-10-4px;
} }
} }
span.mx_UserPill {
cursor: pointer;
}
span.mx_RoomPill {
cursor: default;
}
} }
&.mx_BasicMessageComposer_input_disabled { &.mx_BasicMessageComposer_input_disabled {