Browse Source

fix: logo style in login page is affected by the globally-imported antd styles

* 修复登录页左上角LOGO部分的文字在全局导入antd样式的时候位置不正确的问题
Netfan 3 weeks ago
parent
commit
5ea6b4a8d8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/effects/layouts/src/authentication/authentication.vue

+ 1 - 1
packages/effects/layouts/src/authentication/authentication.vue

@@ -66,7 +66,7 @@ const { authPanelCenter, authPanelLeft, authPanelRight, isDark } =
         class="text-foreground lg:text-foreground ml-4 mt-4 flex flex-1 items-center sm:left-6 sm:top-6"
       >
         <img v-if="logo" :alt="appName" :src="logo" class="mr-2" width="42" />
-        <p v-if="appName" class="text-xl font-medium">
+        <p v-if="appName" class="m-0 text-xl font-medium">
           {{ appName }}
         </p>
       </div>