Use shorthand "inset" property (#10825)

This commit is contained in:
Suguru Hirahara 2023-05-09 10:02:12 +00:00 committed by GitHub
parent 5d0b5131f2
commit b3fd9377d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 12 additions and 48 deletions

View file

@ -30,10 +30,7 @@ limitations under the License.
content: "";
display: block;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
inset: 0;
mask-repeat: no-repeat;
mask-position: center;
mask-size: contain;

View file

@ -836,10 +836,7 @@ $left-gutter: 64px;
content: "";
display: block;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
inset: 0;
mask-repeat: no-repeat;
mask-position: center;
mask-size: contain;

View file

@ -64,10 +64,7 @@ limitations under the License.
.mx_JumpToBottomButton_scrollDown::before {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
inset: 0;
mask-image: url("$(res)/img/element-icons/message/chevron-up.svg");
mask-repeat: no-repeat;
mask-size: 20px;