Skip to content

Commit df0ff42

Browse files
committed
UI cleanup
1 parent 24ca473 commit df0ff42

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

ui/src/views/auth/Login.vue

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,10 @@
152152
</a-tab-pane>
153153
<a-tab-pane key="oauth" :disabled="!socialLogin">
154154
<template #tab>
155-
<span>
156-
<img src="/assets/github.svg" style="width: 16px; vertical-align: middle" />
157-
<img src="/assets/google.svg" style="width: 16px; vertical-align: middle" />
158-
External
155+
<span style="display: inline-flex; align-items: center; gap: 4px;">
156+
<img src="/assets/github.svg" style="width: 16px; height: 16px; display: block;" />
157+
<img src="/assets/google.svg" style="width: 16px; height: 16px; display: block;" />
158+
<span>External</span>
159159
</span>
160160
</template>
161161
<a-form-item name="oauthDomain">
@@ -622,18 +622,16 @@ export default {
622622
623623
<style lang="less" scoped>
624624
.user-layout-login {
625-
min-width: 260px;
626-
width: 368px;
625+
min-width: 300px;
626+
width: 500px;
627627
margin: 0 auto;
628628
629629
:deep(.tab-center .ant-tabs-tab) {
630-
padding: 12px 4px;
631-
font-size: 13px;
632-
margin: 0 !important;
630+
margin: 0 16px 0 0;
633631
}
634632
635633
.mobile & {
636-
max-width: 368px;
634+
max-width: 500px;
637635
width: 98%;
638636
}
639637

0 commit comments

Comments
 (0)