mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 01:35:49 +03:00
make shield on verification request scale correctly
by not overriding `mask-size` using `mask` for `mask-image`
This commit is contained in:
parent
759b497899
commit
92292003c8
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ limitations under the License.
|
|||
width: 12px;
|
||||
height: 16px;
|
||||
content: "";
|
||||
mask: url("$(res)/img/e2e/normal.svg");
|
||||
mask-image: url("$(res)/img/e2e/normal.svg");
|
||||
mask-repeat: no-repeat;
|
||||
mask-size: 100%;
|
||||
margin-top: 4px;
|
||||
|
@ -33,7 +33,7 @@ limitations under the License.
|
|||
}
|
||||
|
||||
&.mx_KeyVerification_icon_verified::after {
|
||||
mask: url("$(res)/img/e2e/verified.svg");
|
||||
mask-image: url("$(res)/img/e2e/verified.svg");
|
||||
background-color: $accent-color;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue