Merge pull request #5074 from matrix-org/bwindels/center-jump-down-chevron

Center the jump down/up icon, looks misaligned
pull/21833/head
J. Ryan Stinnett 2020-07-31 18:21:56 +01:00 committed by GitHub
commit 5cf86c7573
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

View File

@ -69,6 +69,7 @@ limitations under the License.
right: 0;
mask: url('$(res)/img/icon-jump-to-bottom.svg');
mask-repeat: no-repeat;
mask-position: 9px 14px;
mask-position: center;
mask-size: 50%;
background: $muted-fg-color;
}

View File

@ -28,7 +28,7 @@ limitations under the License.
content: "";
position: absolute;
top: -8px;
left: 11px;
left: 10.5px;
width: 4px;
height: 4px;
border-radius: 16px;
@ -49,11 +49,12 @@ limitations under the License.
.mx_TopUnreadMessagesBar_scrollUp::before {
content: "";
position: absolute;
width: 38px;
height: 38px;
width: 36px;
height: 36px;
mask-image: url('$(res)/img/icon-jump-to-first-unread.svg');
mask-repeat: no-repeat;
mask-position: 9px 13px;
mask-position: center;
mask-size: 50%;
background: $muted-fg-color;
}