[breaking change] rebuild style struct (#2021)
This commit is contained in:
@@ -120,7 +120,7 @@ export default {
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="postcss">
|
||||
<style lang="less">
|
||||
.demo-tab {
|
||||
margin-bottom: 300px;
|
||||
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
@import '../style/var';
|
||||
|
||||
.van-tab {
|
||||
flex: 1;
|
||||
cursor: pointer;
|
||||
padding: 0 5px;
|
||||
font-size: 14px;
|
||||
position: relative;
|
||||
color: @text-color;
|
||||
line-height: @van-tabs-line-height;
|
||||
text-align: center;
|
||||
box-sizing: border-box;
|
||||
background-color: @white;
|
||||
min-width: 0; /* hack for flex ellipsis */
|
||||
|
||||
span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
&--active {
|
||||
color: @red;
|
||||
}
|
||||
|
||||
&--disabled {
|
||||
color: @gray;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user