This is an automated email from the ASF dual-hosted git repository.

wuzhiguo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/bigtop-manager.git


The following commit(s) were added to refs/heads/main by this push:
     new 9cf142ba BIGTOP-4362: Remove the icon from "Create Cluster" button 
(#177)
9cf142ba is described below

commit 9cf142ba7be70fa6ed8ced25d0e3963f4c40520a
Author: OxideXiao <[email protected]>
AuthorDate: Thu Feb 13 16:27:45 2025 +0800

    BIGTOP-4362: Remove the icon from "Create Cluster" button (#177)
---
 bigtop-manager-ui/src/layouts/default.vue | 2 +-
 bigtop-manager-ui/src/layouts/sider.vue   | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/bigtop-manager-ui/src/layouts/default.vue 
b/bigtop-manager-ui/src/layouts/default.vue
index a135f333..3dbf230a 100644
--- a/bigtop-manager-ui/src/layouts/default.vue
+++ b/bigtop-manager-ui/src/layouts/default.vue
@@ -27,7 +27,7 @@
       <img :src="usePngImage('default')" />
       <a-typography-text>{{ $t('cluster.cluster_unavailable_message') 
}}</a-typography-text>
       <a-typography-link underline @click="() => $router.push({ name: 
'ClusterCreate' })">
-        {{ $t('cluster.create') }}
+        {{ $t('menu.create') }}
       </a-typography-link>
     </div>
   </a-card>
diff --git a/bigtop-manager-ui/src/layouts/sider.vue 
b/bigtop-manager-ui/src/layouts/sider.vue
index 530d126f..363f10d5 100644
--- a/bigtop-manager-ui/src/layouts/sider.vue
+++ b/bigtop-manager-ui/src/layouts/sider.vue
@@ -106,7 +106,6 @@
       <div class="create-option">
         <a-button type="primary" ghost @click="addCluster">
           <div>
-            <svg-icon style="margin-left: 0" name="plus" />
             <label>{{ $t('menu.create') }}</label>
           </div>
         </a-button>
@@ -148,7 +147,6 @@
         width: 160px;
         @include flexbox($align: center, $justify: center);
         label {
-          margin-left: 10px;
           cursor: pointer;
         }
       }

Reply via email to