- 编辑旧消息会删除其后全部消息时,先弹确认告知影响范围 - 有待发送附件时切换会话,先确认再丢弃(避免静默删除已上传文件) - EditableCell 保存成功后提供 6 秒内"撤销"入口(把旧值重新保存), 重新编辑时自动清除 - 导入向导/重新上传显示上传进度条与百分比,不再"假死" - AI 附件上传透传进度给附件列表 - 租赁合同上传显示按钮 loading 与上传百分比
71 lines
1.3 KiB
CSS
71 lines
1.3 KiB
CSS
.editable-cell {
|
|
min-height: 30px;
|
|
min-width: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.editable-cell-display {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.editable-cell-undo {
|
|
flex: none;
|
|
border: none;
|
|
background: transparent;
|
|
color: #1677ff;
|
|
font-size: 12px;
|
|
padding: 0;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.editable-cell-undo:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.editable-cell--enabled {
|
|
cursor: cell;
|
|
touch-action: manipulation;
|
|
padding: 4px 6px;
|
|
margin: -4px -6px;
|
|
border: 1px solid transparent;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.editable-cell--enabled:not(.editable-cell--editing):hover {
|
|
border-color: #91caff;
|
|
background: #e6f4ff;
|
|
}
|
|
|
|
.editable-cell--editing {
|
|
cursor: text;
|
|
padding: 0;
|
|
margin: -4px -6px;
|
|
border-color: transparent;
|
|
background: transparent;
|
|
min-width: 88px;
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.editable-cell--editing .ant-spin-nested-loading,
|
|
.editable-cell--editing .ant-spin-container,
|
|
.editable-cell--editing .ant-input-number,
|
|
.editable-cell--editing .ant-picker,
|
|
.editable-cell--editing .ant-select {
|
|
width: 100%;
|
|
}
|
|
|
|
.editable-cell-dropdown {
|
|
min-width: 140px !important;
|
|
}
|
|
|
|
.editable-cell-dropdown .ant-select-item-option-content {
|
|
white-space: nowrap;
|
|
}
|