Skip to content

Commit 53f1ebe

Browse files
committed
fix: Style optimization
1 parent 3708b91 commit 53f1ebe

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

frontend/src/components/layout/Menu.vue

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,21 @@ const routerList = computed(() => {
9191
border-radius: 6px;
9292
}
9393
94-
.ed-sub-menu.is-active {
94+
.ed-sub-menu.is-active:not(.is-opened) {
9595
.ed-sub-menu__title {
9696
background-color: #fff !important;
9797
color: var(--ed-color-primary) !important;
9898
font-weight: 500;
9999
}
100100
}
101101
102+
.ed-sub-menu.is-active.is-opened {
103+
.ed-sub-menu__title {
104+
color: var(--ed-color-primary) !important;
105+
font-weight: 500;
106+
}
107+
}
108+
102109
.ed-sub-menu .ed-icon {
103110
margin-right: 8px;
104111
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,7 @@ const deleteHandlerItem = (idx: number) => {
528528
:placeholder="
529529
$t('datasource.please_enter') + $t('common.empty') + $t('professional.synonyms')
530530
"
531+
maxlength="100"
531532
clearable
532533
/>
533534
<el-tooltip

0 commit comments

Comments
 (0)