[bugfix] Tab: span selector (#1146)

This commit is contained in:
neverland 2018-12-25 11:13:56 +08:00 committed by GitHub
parent c75d37e61b
commit 7b61eeaf33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions

View File

@ -94,7 +94,7 @@
is-link is-link
> >
<view slot="title"> <view slot="title">
<span class="van-cell-text">单元格</span> <view class="van-cell-text">单元格</view>
<van-tag type="danger">标签</van-tag> <van-tag type="danger">标签</van-tag>
</view> </view>
</van-cell> </van-cell>

View File

@ -113,10 +113,6 @@
background-color: @white; background-color: @white;
min-width: 0; /* hack for flex ellipsis */ min-width: 0; /* hack for flex ellipsis */
span {
display: block;
}
&--active { &--active {
font-weight: 500; font-weight: 500;
color: @text-color; color: @text-color;