File tree Expand file tree Collapse file tree 2 files changed +17
-5
lines changed
src/packages/frontend/frame-editors/time-travel-editor Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ export function LoadMoreHistory({
44
44
return (
45
45
< >
46
46
< Tooltip
47
+ placement = { "bottom" }
47
48
title = {
48
49
disabled
49
50
? "All TimeTravel history is loaded"
Original file line number Diff line number Diff line change @@ -499,7 +499,6 @@ export function TimeTravel(props: Props) {
499
499
{ renderRevertFile ( ) }
500
500
{ renderOpenSnapshots ( ) }
501
501
{ renderExport ( ) }
502
- { renderLoadMoreHistory ( ) }
503
502
</ Space . Compact >
504
503
{ ( versions ?. size ?? 0 ) > 0 && (
505
504
< >
@@ -513,10 +512,21 @@ export function TimeTravel(props: Props) {
513
512
514
513
const renderTimeSelect = ( ) => {
515
514
return (
516
- < >
517
- { renderNavigationSlider ( ) }
518
- { renderRangeSlider ( ) }
519
- </ >
515
+ < div style = { { display : "flex" } } >
516
+ < div
517
+ style = { {
518
+ display : "flex" ,
519
+ justifyContent : "center" ,
520
+ alignItems : "center" ,
521
+ } }
522
+ >
523
+ { renderLoadMoreHistory ( ) }
524
+ </ div >
525
+ < div style = { { flex : 1 } } >
526
+ { renderNavigationSlider ( ) }
527
+ { renderRangeSlider ( ) }
528
+ </ div >
529
+ </ div >
520
530
) ;
521
531
} ;
522
532
@@ -534,6 +544,7 @@ export function TimeTravel(props: Props) {
534
544
padding : "5px 0 5px 15px" ,
535
545
borderTop : "1px solid #ddd" ,
536
546
background : "#fafafa" ,
547
+ marginLeft : "5px" ,
537
548
} }
538
549
>
539
550
{ subject }
You can’t perform that action at this time.
0 commit comments