Skip to content

Commit 8be7984

Browse files
committed
fix(timeline): center the Back jump control and match the round jump buttons
Signed-off-by: Erwan Leboucher <erwanleboucher@gmail.com>
1 parent 5eb6133 commit 8be7984

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

‎src/lib/features/room/timeline/TimelineList.svelte‎

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1837,18 +1837,13 @@
18371837
18381838
/* Kept empty while the control is away so the mention control never moves. */
18391839
.jump-to-latest-slot {
1840+
display: flex;
18401841
height: var(--timeline-indicator-size);
1841-
position: relative;
1842-
width: var(--timeline-indicator-size);
1842+
min-width: var(--timeline-indicator-size);
18431843
}
18441844
1845-
/* The labelled Back control grows past the slot, away from the mention control. */
18461845
.jump-to-latest-motion {
1847-
inset-block-start: 0;
1848-
inset-inline-start: 0;
18491846
pointer-events: auto;
1850-
position: absolute;
1851-
width: max-content;
18521847
}
18531848
18541849
.jump-to-mention-motion :global(.mention-count) {
@@ -1871,7 +1866,8 @@
18711866
box-shadow: var(--shadow-float);
18721867
}
18731868
1874-
:global(button.jump-back) {
1869+
:global(button.btn.jump-back) {
18751870
border-radius: var(--radii-pill);
1871+
border-width: var(--border-width);
18761872
}
18771873
</style>

0 commit comments

Comments
 (0)