Skip to content

Commit 01d857d

Browse files
committed
feat: 更新时间轴捕获移动样式,调整对齐和位置
1 parent d7e412d commit 01d857d

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/components/Dashboard.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,9 @@
564564
min-width: 0;
565565
background: transparent;
566566
cursor: grab;
567+
display: flex;
568+
justify-content: center;
569+
align-items: center;
567570
}
568571

569572
.timeline-capture-move:active {
@@ -573,7 +576,8 @@
573576
.timeline-capture-move span {
574577
position: sticky;
575578
top: 15px;
576-
left: 50%;
579+
left: 8px;
580+
right: 8px;
577581
display: inline-flex;
578582
min-width: 34px;
579583
height: 20px;
@@ -587,7 +591,6 @@
587591
font-size: 11px;
588592
line-height: 1;
589593
font-weight: 700;
590-
transform: translateX(-50%);
591594
white-space: nowrap;
592595
}
593596

0 commit comments

Comments
 (0)