Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.

Commit 6ded700

Browse files
committed
update menu
1 parent 5b40028 commit 6ded700

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

front/projects/web/src/views/layout/menu/menu-item.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function navigateToRoute(event: MouseEvent, href: string) {
2323
<template #title>
2424
{{ t(`${menuI18nPrefix}.${props.menuInfo.name}`) }}
2525
</template>
26-
<el-icon v-if="props.menuInfo.icon" :size="20">
26+
<el-icon v-if="props.menuInfo.icon" :size="20" style="padding-bottom: 2px">
2727
<component :is="props.menuInfo.icon" />
2828
</el-icon>
2929
</el-menu-item>

front/projects/web/src/views/layout/menu/sub-menu.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const { t } = useI18n()
88
<template>
99
<el-sub-menu :index="props.menuInfo.name" teleported>
1010
<template #title>
11-
<el-icon v-if="props.menuInfo.icon" :size="20">
11+
<el-icon v-if="props.menuInfo.icon" :size="20" style="padding-bottom: 2px">
1212
<component :is="props.menuInfo.icon" />
1313
</el-icon>
1414
<span> {{ t(`${menuI18nPrefix}.${props.menuInfo.name}`) }}</span>

0 commit comments

Comments
 (0)