Add hover / active state on avatsetting upload button (#12590)

This commit is contained in:
David Baker 2024-06-07 17:16:41 +01:00 committed by GitHub
parent aeea4bb8e1
commit 7091ca02b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 33 additions and 10 deletions

View file

@ -51,7 +51,7 @@ limitations under the License.
height: 28px;
border-radius: 32px;
border: 1px solid var(--cpd-color-bg-canvas-default);
background-color: var(--cpd-color-bg-subtle-primary);
background-color: var(--cpd-color-bg-canvas-default);
position: absolute;
bottom: 0;
@ -64,6 +64,11 @@ limitations under the License.
top: 3px;
}
}
.mx_AvatarSetting_uploadButton:hover,
.mx_AvatarSetting_uploadButton_active {
background-color: var(--cpd-color-bg-subtle-primary);
}
}
.mx_AvatarSetting_removeMenuItem svg,