Remove hover effect from user name on a DM creation UI (#10887)

This commit is contained in:
Suguru Hirahara 2023-05-30 09:23:23 +00:00 committed by GitHub
parent 938aefc51c
commit 50f7317762
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 5 deletions

View file

@ -80,6 +80,7 @@ limitations under the License.
padding: 1px 4px;
display: flex;
user-select: none;
cursor: pointer;
&:hover {
background-color: $quinary-content;
@ -102,6 +103,14 @@ limitations under the License.
background-color: $tertiary-content;
}
&.mx_RoomHeader_name--textonly {
cursor: unset;
&:hover {
background-color: unset;
}
}
&[aria-expanded="true"] {
background-color: $quinary-content;
@ -120,11 +129,6 @@ limitations under the License.
opacity: 0.6;
}
.mx_RoomHeader_name:not(.mx_RoomHeader_name--textonly),
.mx_RoomHeader_avatar {
cursor: pointer;
}
.mx_RoomTopic {
position: relative;
cursor: pointer;
@ -157,6 +161,7 @@ limitations under the License.
flex: 0;
margin: 0 7px;
position: relative;
cursor: pointer;
}
.mx_RoomHeader_avatar .mx_BaseAvatar_image {