refactor: 重构 Drawer 布局,合并趋势 tab、优化时间选择器和记录表格
- 移除 Drawer 底部确定/取消按钮 - 快捷时间段按钮中文化,时间选择器分两行显示 - DateRangePicker 时间精度改为分钟级 - 三 tab 合并为两 tab,趋势图移入概览面板并添加小标题分隔 - 记录表格:状态列改用 StatusDot,详情列合并错误信息,时间格式统一,耗时单位移至列标题 - 切换目标时通过 key 重置 Drawer 组件状态 - StatusDonut 居中,Tab 内容区域添加 padding - 同步更新 openspec specs
This commit is contained in:
@@ -45,6 +45,9 @@
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: fit-content;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.donut-center-label {
|
||||
@@ -68,6 +71,10 @@
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.drawer-tabs .t-tab-panel {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.row-down {
|
||||
background: color-mix(in srgb, var(--td-error-color) 6%, transparent) !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user