make shield on verification request scale correctly
by not overriding `mask-size` using `mask` for `mask-image`pull/21833/head
parent
759b497899
commit
92292003c8
|
@ -25,7 +25,7 @@ limitations under the License.
|
||||||
width: 12px;
|
width: 12px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
content: "";
|
content: "";
|
||||||
mask: url("$(res)/img/e2e/normal.svg");
|
mask-image: url("$(res)/img/e2e/normal.svg");
|
||||||
mask-repeat: no-repeat;
|
mask-repeat: no-repeat;
|
||||||
mask-size: 100%;
|
mask-size: 100%;
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
|
@ -33,7 +33,7 @@ limitations under the License.
|
||||||
}
|
}
|
||||||
|
|
||||||
&.mx_KeyVerification_icon_verified::after {
|
&.mx_KeyVerification_icon_verified::after {
|
||||||
mask: url("$(res)/img/e2e/verified.svg");
|
mask-image: url("$(res)/img/e2e/verified.svg");
|
||||||
background-color: $accent-color;
|
background-color: $accent-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue