fix: 修复在火狐浏览器中菜单折叠后,文字超出未隐藏的问题

This commit is contained in:
xiaoxian521
2024-05-28 12:19:18 +08:00
parent cd653c83f0
commit a8377f8d45
2 changed files with 3 additions and 3 deletions

View File

@@ -145,7 +145,7 @@ function resolvePath(routePath) {
item?.pathList?.length === 2)
"
truncated
class="!w-full !px-4 !text-inherit"
class="!w-full !pl-4 !text-inherit"
>
{{ transformI18n(onlyOneChild.meta.title) }}
</el-text>
@@ -199,7 +199,7 @@ function resolvePath(routePath) {
:class="{
'!w-full': true,
'!text-inherit': true,
'!px-4':
'!pl-4':
layout !== 'horizontal' &&
isCollapse &&
!toRaw(item.meta.icon) &&