Improve pills (#6398)

This commit is contained in:
Šimon Brandner
2022-05-05 11:13:09 +02:00
committed by GitHub
parent c79596cfe6
commit b5ac9493dd
15 changed files with 176 additions and 184 deletions
+8 -10
View File
@@ -51,9 +51,15 @@ limitations under the License.
}
&.mx_BasicMessageComposer_input_shouldShowPillAvatar {
span.mx_UserPill, span.mx_RoomPill {
position: relative;
span.mx_UserPill, span.mx_RoomPill, span.mx_SpacePill {
user-select: all;
position: relative;
cursor: unset; // We don't want indicate clickability
&:hover {
// We don't want indicate clickability | To override the overriding of .markdown-body
background-color: $pill-bg-color !important;
}
// avatar psuedo element
&::before {
@@ -72,14 +78,6 @@ limitations under the License.
font-size: $font-10-4px;
}
}
span.mx_UserPill {
cursor: pointer;
}
span.mx_RoomPill {
cursor: default;
}
}
&.mx_BasicMessageComposer_input_disabled {