🐛 Fix(custom): fix a bug that the update progress bar not show

This commit is contained in:
Kuingsmile
2026-01-01 15:48:46 +08:00
parent 5ea2517460
commit 760ab51d7b
2 changed files with 7 additions and 4 deletions

View File

@@ -28,7 +28,6 @@ export default defineConfig(
globals: { globals: {
...globals.browser, ...globals.browser,
...globals.node, ...globals.node,
Office: 'readonly',
}, },
}, },
}, },
@@ -45,7 +44,6 @@ export default defineConfig(
globals: { globals: {
...globals.browser, ...globals.browser,
...globals.node, ...globals.node,
Office: 'readonly',
}, },
}, },
}, },

View File

@@ -153,13 +153,18 @@ onBeforeUnmount(() => {
display: flex; display: flex;
align-items: center; align-items: center;
gap: 8px; gap: 8px;
max-width: 200px; width: 100%;
min-width: 100px;
max-width: 600px;
} }
.progress-bar { .progress-bar {
overflow: hidden; overflow: hidden;
border-radius: 2px; border-radius: 2px;
height: 4px; width: 100%;
min-width: 100px;
max-width: 600px;
height: 14px;
background: var(--color-border); background: var(--color-border);
flex: 1; flex: 1;
} }