Skip to content

Commit

Permalink
fix(tabs): 规范 css
Browse files Browse the repository at this point in the history
  • Loading branch information
jimczj committed Sep 20, 2018
1 parent b25b70b commit cf56b03
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/components/tabs-pane/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ export default class AtTabsPane extends AtComponent {
<View
className={
classNames({
'tabs-pane': true,
'tabs-pane--active': index === current,
'tabs-pane--inactive': index !== current
'at-tabs-pane': true,
'at-tabs-pane--active': index === current,
'at-tabs-pane--inactive': index !== current
}, className)
}
style={customStyle}
Expand Down
2 changes: 1 addition & 1 deletion src/components/tabs-pane/index.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.tabs-pane {
.at-tabs-pane {
display: inline-block;
width: 100%;
white-space: initial;
Expand Down
1 change: 0 additions & 1 deletion src/components/tabs/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@

&__body {
display: block;
font-size: 0;
white-space: nowrap;
transition: all 0.3s;
width: 100%;
Expand Down

0 comments on commit cf56b03

Please sign in to comment.