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 48
48
<PasswordAuth ></PasswordAuth >
49
49
</el-card >
50
50
51
- <el-card class =" login-card" v-else >
51
+ <el-card class =" login-card" v-else style = " --el-card-padding : 0 " >
52
52
<h2 class =" mb-24" v-if =" !showQrCodeTab && (loginMode === 'LDAP' || loginMode === 'LOCAL')" >
53
53
{{ loginMode == 'LOCAL' ? $t('views.login.title') : loginMode }}
54
54
</h2 >
Original file line number Diff line number Diff line change 2
2
<el-tabs v-model =" activeKey" @tab-change =" selectTab" >
3
3
<template v-for =" item in tabs " :key =" item .key " >
4
4
<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" >
6
6
<component
7
7
:is =" defineAsyncComponent(() => import(`./${item.key}QrCode.vue`))"
8
8
:config =" config"
Original file line number Diff line number Diff line change 1
1
<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 >
3
3
</template >
4
4
5
5
<script lang="ts" setup>
@@ -80,8 +80,10 @@ init()
80
80
</script >
81
81
82
82
<style scoped lang="scss">
83
- . wecom-qr {
83
+ # wecom-qr {
84
84
margin-top : -20px ;
85
85
height : 331px ;
86
+ justify-content : center ;
87
+
86
88
}
87
89
</style >
Original file line number Diff line number Diff line change 1
1
<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 >
3
3
</template >
4
4
5
5
<script lang="ts" setup>
@@ -72,8 +72,10 @@ init()
72
72
</script >
73
73
74
74
<style scoped lang="scss">
75
- . wecom-qr {
75
+ # wecom-qr {
76
76
margin-top : -20px ;
77
77
height : 331px ;
78
+ justify-content : center ;
79
+
78
80
}
79
81
</style >
You can’t perform that action at this time.
0 commit comments