File tree Expand file tree Collapse file tree 4 files changed +10
-6
lines changed
Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 4848 <PasswordAuth ></PasswordAuth >
4949 </el-card >
5050
51- <el-card class =" login-card" v-else >
51+ <el-card class =" login-card" v-else style = " --el-card-padding : 0 " >
5252 <h2 class =" mb-24" v-if =" !showQrCodeTab && (loginMode === 'LDAP' || loginMode === 'LOCAL')" >
5353 {{ loginMode == 'LOCAL' ? $t('views.login.title') : loginMode }}
5454 </h2 >
Original file line number Diff line number Diff line change 22 <el-tabs v-model =" activeKey" @tab-change =" selectTab" >
33 <template v-for =" item in tabs " :key =" item .key " >
44 <el-tab-pane :label =" item.value" :name =" item.key" >
5- <div class =" text-center mt-16 " v-if =" item.key === activeKey" >
5+ <div class =" text-center" v-if =" item.key === activeKey" >
66 <component
77 :is =" defineAsyncComponent(() => import(`./${item.key}QrCode.vue`))"
88 :config =" config"
Original file line number Diff line number Diff line change 11<template >
2- <div id =" wecom-qr" class =" wecom-qr" style = " margin-left : 50 px " ></div >
2+ <div id =" wecom-qr" class =" wecom-qr flex " ></div >
33</template >
44
55<script lang="ts" setup>
@@ -80,8 +80,10 @@ init()
8080 </script >
8181
8282<style scoped lang="scss">
83- . wecom-qr {
83+ # wecom-qr {
8484 margin-top : -20px ;
8585 height : 331px ;
86+ justify-content : center ;
87+
8688}
8789 </style >
Original file line number Diff line number Diff line change 11<template >
2- <div id =" wecom-qr" class =" wecom-qr" style = " margin-left : 50 px " ></div >
2+ <div id =" wecom-qr" class =" wecom-qr flex " ></div >
33</template >
44
55<script lang="ts" setup>
@@ -72,8 +72,10 @@ init()
7272 </script >
7373
7474<style scoped lang="scss">
75- . wecom-qr {
75+ # wecom-qr {
7676 margin-top : -20px ;
7777 height : 331px ;
78+ justify-content : center ;
79+
7880}
7981 </style >
You can’t perform that action at this time.
0 commit comments