fix(projects): add maxWidth for GlobalTab to fix bg with gap. fixed #350

This commit is contained in:
Soybean 2024-04-03 00:20:55 +08:00
parent 1ec5ea0ff1
commit cc539974b2

View File

@ -184,7 +184,7 @@ init();
<template #prefix>
<SvgIcon :icon="tab.icon" :local-icon="tab.localIcon" class="inline-block align-text-bottom text-16px" />
</template>
<span>{{ tab.label }}</span>
<div class="max-w-240px ellipsis-text">{{ tab.label }}</div>
</PageTab>
</div>
</BetterScroll>