35
35
<div class =" searchBtn" >
36
36
<img src =" /img/icon/header-icons/search.png" alt =" icon" />
37
37
</div >
38
- <div class =" downloadBtn" :class =" {disabled:checkStereumUpdate}" @click =" $emit('runUpdate', stereumUpdate)" >
38
+ <div
39
+ class =" downloadBtn"
40
+ :class =" { disabled: !checkStereumUpdate }"
41
+ @click =" $emit('runUpdate', stereumUpdate)"
42
+ >
39
43
<img
40
44
src =" /img/icon/node-journal-icons/download2.png"
41
45
alt =" icon"
42
46
/>
43
47
</div >
44
48
45
49
<div v-if =" checkStereumUpdate()" class =" available" >
46
-
47
50
<div class =" updateIcon" >
48
51
<img src =" /img/icon/header-icons/update-green.png" alt =" icon" />
49
52
</div >
@@ -148,7 +151,9 @@ export default {
148
151
if (this .stereumUpdate && this .stereumUpdate .version ) {
149
152
// console.log(this.stereumUpdate.commit) // commit hash of the newest newest release tag
150
153
// console.log(this.stereumUpdate.current_commit) // current installed commit on the os
151
- return this .stereumUpdate .commit != this .stereumUpdate .current_commit ? true : false ;
154
+ return this .stereumUpdate .commit != this .stereumUpdate .current_commit
155
+ ? true
156
+ : false ;
152
157
}
153
158
return false ;
154
159
},
@@ -302,8 +307,8 @@ export default {
302
307
height : 100% ;
303
308
grid-column : 2 /3 ;
304
309
grid-row : 2 /3 ;
305
- font-size : 0.7 rem ;
306
- font-weight : 600 ;
310
+ font-size : 0.6 rem ;
311
+ font-weight : 500 ;
307
312
text-transform : uppercase ;
308
313
color : #b4b443 ;
309
314
justify-self : flex-start ;
@@ -318,8 +323,8 @@ export default {
318
323
}
319
324
#currentValue span ,
320
325
#latestValue span {
321
- font-size : 0.7 rem ;
322
- font-weight : 600 ;
326
+ font-size : 0.6 rem ;
327
+ font-weight : 500 ;
323
328
text-transform : uppercase ;
324
329
color : #b4b443 ;
325
330
justify-self : center ;
@@ -442,6 +447,7 @@ export default {
442
447
.btnBox .available .availableText {
443
448
grid-column : 2 /7 ;
444
449
grid-row : 1 ;
450
+ width : max-content ;
445
451
margin : 0 auto 0 8px ;
446
452
font-size : 0.6rem ;
447
453
font-weight : 600 ;
@@ -687,7 +693,7 @@ export default {
687
693
margin-right : 5px ;
688
694
}
689
695
690
- .disabled {
696
+ .disabled {
691
697
pointer-events : none ;
692
698
background-color : #074634 !important ;
693
699
opacity : 0.5 ;
0 commit comments