修复上传进度百分比显示不全:进度轨道去掉 overflow:hidden(填充条自带圆角,无需裁剪)

This commit is contained in:
2026-09-04 08:48:57 +08:00
parent 98a98198d3
commit bc903fc885
+3 -1
View File
@@ -376,7 +376,9 @@ footer { flex: none; padding: 8px 12px calc(10px + env(safe-area-inset-bottom, 0
/* 上传总进度条(header 中间,上传中显示) */
.files-panel-progress {
flex: 1; min-width: 0; height: 6px; margin: 0 10px;
background: var(--surface); border-radius: 3px; overflow: hidden; position: relative;
background: var(--surface); border-radius: 3px; position: relative;
/* 不用 overflow:hidden:会裁掉右侧 10px 高的百分比文字(.pct);
填充条 .bar 自带 3px 圆角,无需轨道裁剪 */
}
.files-panel-progress .bar {
height: 100%; width: 0;