|
@@ -10,10 +10,14 @@ export const useRenderMenuTitle = () => {
|
|
|
return icon ? (
|
|
|
<>
|
|
|
<Icon icon={meta.icon}></Icon>
|
|
|
- <span class="v-menu__title">{t(title as string)}</span>
|
|
|
+ <span class="v-menu__title overflow-hidden overflow-ellipsis whitespace-nowrap">
|
|
|
+ {t(title as string)}
|
|
|
+ </span>
|
|
|
</>
|
|
|
) : (
|
|
|
- <span class="v-menu__title">{t(title as string)}</span>
|
|
|
+ <span class="v-menu__title overflow-hidden overflow-ellipsis whitespace-nowrap">
|
|
|
+ {t(title as string)}
|
|
|
+ </span>
|
|
|
)
|
|
|
}
|
|
|
|