Skip to content

Commit

Permalink
fix(Tab): css syntax flaw
Browse files Browse the repository at this point in the history
  • Loading branch information
guanpu committed Feb 28, 2019
1 parent ecc6bb9 commit 0d7518e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/tab/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Fusion 提供了三级选项卡,分别用于不同的场景。
| excessMode | 选项卡过多时的滑动模式<br><br>**可选值**:<br>'slide', 'dropdown' | Enum | 'slide' |
| tabPosition | 导航选项卡的位置,只适用于包裹型(wrapped)选项卡<br><br>**可选值**:<br>'top', 'bottom', 'left', 'right' | Enum | 'top' |
| triggerType | 激活选项卡的触发方式<br><br>**可选值**:<br>'hover', 'click' | Enum | 'click' |
| lazyLoad | 是否提前渲染好所有 TabPane 的内容 | Boolean | true |
| lazyLoad | 是否延迟加载 TabPane 的内容, 默认开启, 即不提前渲染 | Boolean | true |
| unmountInactiveTabs | 是否自动卸载未处于激活状态的选项卡 | Boolean | false |
| navStyle | 导航条的自定义样式 | Object | - |
| navClassName | 导航条的自定义样式类 | String | - |
Expand Down
2 changes: 1 addition & 1 deletion src/tab/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
}
}

&-wrapped:before, &-wrapped:after, {
&-wrapped:before, &-wrapped:after {
content: "";
display: table;
}
Expand Down
1 change: 0 additions & 1 deletion src/tab/scss/mixin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
cursor: pointer;
color: $tab-color-hover;
background-color: $tab-bg-color-hover;
border-color: 0;
}

&.active {
Expand Down

0 comments on commit 0d7518e

Please sign in to comment.