Skip to content

Commit

Permalink
Merge pull request #4739 from yangbinji/patch-1
Browse files Browse the repository at this point in the history
fix(ShareSheet): the <button> should wrap the text
  • Loading branch information
nemo-shen committed Jan 10, 2022
2 parents 48d22b0 + 01795ca commit 639527a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/share-sheet/options.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
bindtap="onSelect"
>
<button class="van-share-sheet__button" open-type="{{ item.openType }}">
<image src="{{ computed.getIconURL(item.icon) }}" class="van-share-sheet__icon" />
<image src="{{ computed.getIconURL(item.icon) }}" class="van-share-sheet__icon" />
<view wx:if="{{ item.name }}" class="van-share-sheet__name">{{ item.name }}</view>
<view wx:if="{{ item.description }}" class="van-share-sheet__option-description">
{{ item.description }}
</view>
</button>
<view wx:if="{{ item.name }}" class="van-share-sheet__name">{{ item.name }}</view>
<view wx:if="{{ item.description }}" class="van-share-sheet__option-description">
{{ item.description }}
</view>
</view>
</view>

0 comments on commit 639527a

Please sign in to comment.