调整 H5MediaViewer 组件的缩略图宽度,并将进度提示中的中文“即将完成”更改为英文“completed”。

This commit is contained in:
北枳 2025-09-24 21:34:21 +08:00
parent b98c34c39f
commit 760937aa51
2 changed files with 2 additions and 2 deletions

View File

@ -377,7 +377,7 @@ export function H5MediaViewer({
<div className="absolute left-4 top-0 z-[60]" data-alt="final-sidebar-h5">
<div className="flex items-start">
{isFinalBarOpen && (
<div className="w-20 max-h-[50vh] overflow-y-auto rounded-md backdrop-blur-lg bg-black/30 border border-white/20 shadow-xl p-1 mr-2" data-alt="final-thumbnails">
<div className="w-[3rem] max-h-[50vh] overflow-y-auto rounded-md backdrop-blur-lg bg-black/30 border border-white/20 shadow-xl p-1 mr-2" data-alt="final-thumbnails">
<button
type="button"
onClick={() => onSelectView && onSelectView('final')}

View File

@ -102,7 +102,7 @@ const H5ProgressToastUI: React.FC<UIProps> = ({ open, title, progress }) => {
</div>
<div className="mt-1 flex items-center justify-between text-xs text-white/70">
<span data-alt="percent">{pct}%</span>
<span data-alt="hint">{pct >= 100 ? '即将完成' : ''}</span>
<span data-alt="hint">{pct >= 100 ? 'completed' : ''}</span>
</div>
</div>
</div>