You've already forked matrix-react-sdk
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:
@@ -69,6 +69,7 @@ limitations under the License.
|
|||||||
right: 0;
|
right: 0;
|
||||||
mask: url('$(res)/img/icon-jump-to-bottom.svg');
|
mask: url('$(res)/img/icon-jump-to-bottom.svg');
|
||||||
mask-repeat: no-repeat;
|
mask-repeat: no-repeat;
|
||||||
mask-position: 9px 14px;
|
mask-position: center;
|
||||||
|
mask-size: 50%;
|
||||||
background: $muted-fg-color;
|
background: $muted-fg-color;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ limitations under the License.
|
|||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -8px;
|
top: -8px;
|
||||||
left: 11px;
|
left: 10.5px;
|
||||||
width: 4px;
|
width: 4px;
|
||||||
height: 4px;
|
height: 4px;
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
@@ -49,11 +49,12 @@ limitations under the License.
|
|||||||
.mx_TopUnreadMessagesBar_scrollUp::before {
|
.mx_TopUnreadMessagesBar_scrollUp::before {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 38px;
|
width: 36px;
|
||||||
height: 38px;
|
height: 36px;
|
||||||
mask-image: url('$(res)/img/icon-jump-to-first-unread.svg');
|
mask-image: url('$(res)/img/icon-jump-to-first-unread.svg');
|
||||||
mask-repeat: no-repeat;
|
mask-repeat: no-repeat;
|
||||||
mask-position: 9px 13px;
|
mask-position: center;
|
||||||
|
mask-size: 50%;
|
||||||
background: $muted-fg-color;
|
background: $muted-fg-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user