Skip to content

Commit 073e616

Browse files
committed
fix: Style optimization
1 parent 6997c76 commit 073e616

File tree

9 files changed

+34
-8
lines changed

9 files changed

+34
-8
lines changed

frontend/src/components/layout/LayoutDsl.vue

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,17 @@ const showSysmenu = computed(() => {
162162
.fold {
163163
cursor: pointer;
164164
margin-left: auto;
165+
border-radius: 6px;
166+
width: 40px;
167+
height: 40px;
168+
&:hover,
169+
&:focus {
170+
background: #1f23291a;
171+
}
172+
173+
&:active {
174+
background: #1f232933;
175+
}
165176
}
166177
}
167178
}

frontend/src/style.less

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,3 +413,9 @@ strong {
413413
.ed-dropdown__popper {
414414
--ed-dropdown-menuItem-hover-fill: #1f23291a !important;
415415
}
416+
.ed-dialog__headerbtn {
417+
border-radius: 6px !important;
418+
&.mrt {
419+
margin-top: -7px;
420+
}
421+
}

frontend/src/views/ds/AddDrawer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ defineExpose({
9797
</el-step>
9898
</el-steps>
9999
</div>
100-
<el-icon style="cursor: pointer" @click="close">
100+
<el-icon class="ed-dialog__headerbtn mrt" style="cursor: pointer" @click="close">
101101
<icon_close_outlined></icon_close_outlined>
102102
</el-icon>
103103
</template>

frontend/src/views/system/embedded/Page.vue

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,14 +689,18 @@ const copyCode = (row: any, key: any = 'app_secret') => {
689689
.ed-icon {
690690
margin-left: 8px;
691691
}
692+
693+
.ed-icon + .ed-icon {
694+
margin-left: 12px;
695+
}
692696
}
693697
.field-comment {
694698
height: 24px;
699+
695700
.ed-icon {
696701
position: relative;
697702
cursor: pointer;
698703
margin-top: 4px;
699-
margin-right: 10px;
700704
701705
&::after {
702706
content: '';
@@ -721,6 +725,9 @@ const copyCode = (row: any, key: any = 'app_secret') => {
721725
cursor: not-allowed;
722726
}
723727
}
728+
.ed-icon + .ed-icon {
729+
margin-left: 12px;
730+
}
724731
}
725732
726733
.preview-num {

frontend/src/views/system/embedded/iframe.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1288,7 +1288,7 @@ const saveHandler = () => {
12881288
background: #1f23291a;
12891289
}
12901290
.ed-button + .ed-button {
1291-
margin-left: 4px;
1291+
margin-left: 8px;
12921292
}
12931293
}
12941294

frontend/src/views/system/model/Model.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ const submit = (item: any) => {
437437
</el-step>
438438
</el-steps>
439439
</div>
440-
<el-icon style="cursor: pointer" @click="close">
440+
<el-icon class="ed-dialog__headerbtn mrt" style="cursor: pointer" @click="close">
441441
<icon_close_outlined></icon_close_outlined>
442442
</el-icon>
443443
</template>

frontend/src/views/system/model/ModelForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ defineExpose({
589589
background: #1f23291a;
590590
}
591591
.ed-button + .ed-button {
592-
margin-left: 4px;
592+
margin-left: 8px;
593593
}
594594
}
595595
}

frontend/src/views/system/permission/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ const columnRules = {
626626
</el-step>
627627
</el-steps>
628628
</div>
629-
<el-icon style="cursor: pointer" @click="close">
629+
<el-icon class="ed-dialog__headerbtn mrt" style="cursor: pointer" @click="close">
630630
<icon_close_outlined></icon_close_outlined>
631631
</el-icon>
632632
</template>
@@ -994,7 +994,7 @@ const columnRules = {
994994
.action-btn {
995995
margin-top: 4px;
996996
&:nth-child(1) {
997-
margin-right: 8px;
997+
margin-right: 12px;
998998
}
999999
}
10001000
}

frontend/src/views/system/professional/index.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,6 @@ const deleteHandlerItem = (idx: number) => {
661661
position: relative;
662662
cursor: pointer;
663663
margin-top: 4px;
664-
margin-right: 10px;
665664
666665
&::after {
667666
content: '';
@@ -686,6 +685,9 @@ const deleteHandlerItem = (idx: number) => {
686685
cursor: not-allowed;
687686
}
688687
}
688+
.ed-icon + .ed-icon {
689+
margin-left: 12px;
690+
}
689691
}
690692
691693
.preview-num {

0 commit comments

Comments
 (0)