Replace a Sass variable with a CSS custom property - hover-transition (#10786)

This commit is contained in:
Suguru Hirahara
2023-05-22 07:40:40 +00:00
committed by GitHub
parent 74d30187a4
commit 2e3cb0adf7
3 changed files with 5 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ limitations under the License.
position: relative;
.mx_AvatarSetting_hover {
transition: opacity $hover-transition;
transition: opacity var(--hover-transition);
/* position to place the hover bg over the entire thing */
position: absolute;