Skip to content

Commit

Permalink
fix(flex): 修复一些 flex 样式
Browse files Browse the repository at this point in the history
  • Loading branch information
SzHeJason committed Sep 11, 2018
1 parent 43eded4 commit 454986b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/flex/item/index.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
@import "../../../style/mixins/index.scss";
@import "../../../style/theme/default.scss";

.at-col,
at-flex-item { // stylelint-disable-line
.at-col {
@include flex(1);

width: 100%;
display: block;
white-space: nowrap;
word-break: keep-all;
box-sizing: border-box;

Expand Down Expand Up @@ -43,6 +43,7 @@ at-flex-item { // stylelint-disable-line
}

&--wrap {
white-space: normal;
word-wrap: break-word;
}
}

0 comments on commit 454986b

Please sign in to comment.