0xJacky hace 2 años
padre
commit
ee25eefec4

+ 1 - 1
frontend/index.html

@@ -3,7 +3,7 @@
 <head>
     <meta charset="UTF-8"/>
     <link href="/favicon.ico" rel="icon">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
+    <meta content="width=device-width,initial-scale=1.0,user-scalable=0" name="viewport">
     <style type="text/css">
         #app {
             height: 100%;

+ 1 - 0
frontend/src/layouts/BaseLayout.vue

@@ -48,6 +48,7 @@ const lang = computed(() => {
                     v-model:visible="drawer_visible"
                     placement="left"
                     @close="drawer_visible=false"
+                    width="256"
                 >
                     <side-bar/>
                 </a-drawer>

+ 2 - 2
frontend/src/views/dashboard/DashBoard.vue

@@ -130,7 +130,7 @@ function wsOnMessage(m: { data: any }) {
 
 <template>
     <div>
-        <a-row :gutter="[16,16]" class="first-row">
+        <a-row :gutter="[{xs: 0, sm: 16}, 16]" class="first-row">
             <a-col :xl="7" :lg="24" :md="24" :xs="24">
                 <a-card :title="$gettext('Server Info')" :bordered="false">
                     <p>
@@ -189,7 +189,7 @@ function wsOnMessage(m: { data: any }) {
                 </a-card>
             </a-col>
         </a-row>
-        <a-row class="row-two" :gutter="[16,32]">
+        <a-row :gutter="[{xs: 0, sm: 16}, 16]" class="row-two">
             <a-col :xl="8" :lg="24" :md="24" :sm="24" :xs="24">
                 <a-card :title="$gettext('CPU Status')" :bordered="false">
                     <a-statistic :value="cpu" title="CPU">

+ 1 - 1
frontend/src/views/domain/DomainList.vue

@@ -88,7 +88,7 @@ function destroy(site_name: any) {
             :disable_search="true"
             row-key="name"
             ref="table"
-            @clickEdit="r => this.$router.push({
+            @clickEdit="r => $router.push({
                 path: '/domain/' + r
             })"
             :deletable="false"

+ 1 - 1
frontend/version.json

@@ -1 +1 @@
-{"version":"1.5.0","build_id":15,"total_build":85}
+{"version":"1.5.0","build_id":17,"total_build":87}