Skip to content

Commit 5ed2975

Browse files
committed
Fix: style update
1 parent e366d8f commit 5ed2975

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/renderer/views/Update/index.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div class="title"> 发现新版本 <small v-if="remoteVersionFromApp">v{{ remoteVersionFromApp }}</small>
55
</div>
66
<div class="content">
7-
<div v-if="updateContent" v-html="updateContent"></div>
7+
<div class="fixed" v-if="updateContent" v-html="updateContent"></div>
88
<ul class="fixed" v-else>
99
<li>1.提升了客户端的启动速度</li>
1010
<li>2.解决了已知的BUG</li>
@@ -23,7 +23,8 @@
2323
</div>
2424
</template>
2525
<div class="download-wrapper" v-else>
26-
<div class="download-title">正在下载...</div>
26+
<div class="download-title" v-if="is_paused">暂停中</div>
27+
<div class="download-title" v-else>正在下载...</div>
2728
<div class="progress-bar">
2829
<a-progress size="small" :percent="state.percent" />
2930
</div>
@@ -244,7 +245,7 @@ export default {
244245
245246
.content {
246247
width: 70%;
247-
margin: auto;
248+
margin: 0 auto;
248249
overflow: auto;
249250
.verson {
250251
display: flex;

0 commit comments

Comments
 (0)