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:
commit
5cf86c7573
2 changed files with 7 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue