forked from 77media/video-flow
调整 H5MediaViewer 组件的缩略图宽度,并将进度提示中的中文“即将完成”更改为英文“completed”。
This commit is contained in:
parent
b98c34c39f
commit
760937aa51
@ -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')}
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user