Browse Source

fix radial bar chart

0xJacky 3 years ago
parent
commit
d3789e52c4

+ 4 - 3
frontend/src/components/Chart/RadialBarChart.vue

@@ -35,7 +35,7 @@ export default {
                 series: this.series,
                 chart: {
                     type: 'radialBar',
-                    offsetY: -10
+                    offsetY: 0
                 },
                 plotOptions: {
                     radialBar: {
@@ -82,15 +82,16 @@ export default {
 .container {
     position: relative;
     margin: 0 auto;
+    height: 172px;
     .text {
         position: absolute;
-        top: calc(72px);
+        top: calc(50% - 3px);
         width: 100%;
         text-align: center;
     }
     .bottom_text {
         position: absolute;
-        top: calc(142px);
+        top: calc(152px);
         font-weight: 600;
         width: 100%;
         text-align: center;

+ 2 - 2
frontend/src/views/other/Login.vue

@@ -33,8 +33,8 @@
                     </a-input>
                 </a-form-item>
                 <a-form-item>
-                    <a-button type="primary" :block="true" html-type="submit" :loading="loading" v-translate>
-                        Login
+                    <a-button type="primary" :block="true" html-type="submit" :loading="loading">
+                        <translate>Login</translate>
                     </a-button>
                 </a-form-item>
             </a-form>

+ 1 - 1
frontend/version.json

@@ -1 +1 @@
-{"version":"1.2.0","build_id":4,"total_build":44}
+{"version":"1.2.0","build_id":5,"total_build":45}