Skip to content

Commit cc53997

Browse files
committed
fix(projects): add maxWidth for GlobalTab to fix bg with gap. fixed #350
1 parent 1ec5ea0 commit cc53997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/layouts/modules/global-tab/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ init();
184184
<template #prefix>
185185
<SvgIcon :icon="tab.icon" :local-icon="tab.localIcon" class="inline-block align-text-bottom text-16px" />
186186
</template>
187-
<span>{{ tab.label }}</span>
187+
<div class="max-w-240px ellipsis-text">{{ tab.label }}</div>
188188
</PageTab>
189189
</div>
190190
</BetterScroll>

0 commit comments

Comments
 (0)