@@ -882,18 +882,21 @@
min-height: 0;
display: flex;
flex-direction: column;
+ // 内容缩进放在 header 之后,保证左右两个 panel 的标题从同一高度开始
+ padding: 0 14px 12px;
}
.timeline-summary {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
- gap: 8px;
+ gap: 14px;
+ margin-top: 10px;
flex: 0 0 auto;
.timeline-stat-card {
min-width: 0;
- padding: 10px 12px;
+ padding: 12px 14px;
border: 1px solid #e5e7eb;
border-radius: 6px;
background: transparent;
@@ -901,7 +904,7 @@
&.emphasis {
border-color: #d7e6fb;
- background: #f8fbff;
+ background: transparent;
@@ -924,7 +927,9 @@
flex: 1 1 auto;
position: relative;
- padding: 10px 0 0 132px;
+ // 用负外边距把滚动条推到面板右侧,同时用右 padding 保持内容不贴边
+ margin-right: -14px;
+ padding: 10px 14px 0 132px;
overflow: auto;