Skip to content
This repository has been archived by the owner on Dec 6, 2021. It is now read-only.

Commit

Permalink
fix(tabs): tab item titles wraps in Alipay
Browse files Browse the repository at this point in the history
  • Loading branch information
b2nil committed Sep 21, 2020
1 parent 8d4a33f commit 41c3cba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/tabs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,9 @@ const AtTabs = defineComponent({
class: tabItemClass.value(idx),
onTap: handleClick.bind(this, idx)
}, [
h(Text, null, item.title),
h(Text, {
style: "white-space: nowrap;"
}, item.title),
h(View, { class: 'at-tabs__item-underline' }),
])
))
Expand Down

0 comments on commit 41c3cba

Please sign in to comment.