Skip to content

Commit cb809e3

Browse files
committed
feat(datasource): Style optimization
1 parent 42138d2 commit cb809e3

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

frontend/src/components/layout/Person.vue

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,18 @@ const handleDefaultLanguageChange = (item: any) => {
128128
background-color: transparent;
129129
130130
&.collapse {
131-
width: 40px;
131+
min-width: 48px;
132+
margin-left: -4px;
133+
position: relative;
134+
margin-top: -6px;
135+
margin-bottom: 16px;
136+
137+
.default-avatar {
138+
position: absolute;
139+
top: 50%;
140+
left: 50%;
141+
transform: translate(-50%, -50%);
142+
}
132143
}
133144
134145
.name {

frontend/src/views/ds/ParamsForm.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ defineExpose({
5353
<DatasourceForm
5454
ref="datasourceFormRef"
5555
:active-step="2"
56+
activeName=""
5657
@change-active-step="changeActiveStep"
5758
@refresh="refresh"
5859
></DatasourceForm>

0 commit comments

Comments
 (0)