1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00

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

Center the jump down/up icon, looks misaligned
This commit is contained in:
J. Ryan Stinnett
2020-07-31 18:21:56 +01:00
committed by GitHub
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;
}