Browse Source

style: fix logo center

xingyu 2 years ago
parent
commit
404ac293cb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      yudao-ui-admin-vue3/src/components/Logo/src/Logo.vue

+ 1 - 1
yudao-ui-admin-vue3/src/components/Logo/src/Logo.vue

@@ -59,7 +59,7 @@ watch(
     :class="[
       prefixCls,
       layout !== 'classic' ? `${prefixCls}__Top` : '',
-      'flex !h-[var(--logo-height)] items-center cursor-pointer pl-8px relative',
+      'flex !h-[var(--logo-height)] items-center cursor-pointer justify-center relative',
       'dark:bg-[var(--el-bg-color)]'
     ]"
     to="/"