Skip to content

Commit

Permalink
fix babel-plugin-css-modules-transform broken with less function for …
Browse files Browse the repository at this point in the history
  • Loading branch information
nikogu committed Nov 15, 2017
1 parent cc7212e commit debfa50
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ant-design-pro",
"version": "0.2.3-rc.0",
"version": "0.2.3-rc.1",
"description": "An out-of-box UI solution for enterprise applications",
"private": true,
"scripts": {
Expand Down
12 changes: 4 additions & 8 deletions src/components/Charts/ChartCard/index.less
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
@import "~antd/lib/style/themes/default.less";

.textOverflow() {
overflow: hidden;
text-overflow: ellipsis;
word-break: break-all;
white-space: nowrap;
}

.chartCard {
position: relative;
.meta {
Expand All @@ -23,7 +16,10 @@
right: 0;
}
.total {
.textOverflow();
overflow: hidden;
text-overflow: ellipsis;
word-break: break-all;
white-space: nowrap;
color: @heading-color;
margin-top: 4px;
margin-bottom: 0;
Expand Down
14 changes: 12 additions & 2 deletions src/components/Exception/index.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@import "~antd/lib/style/themes/default.less";
@import "~antd/lib/style/mixins/clearfix.less";

.exception {
display: flex;
Expand All @@ -10,7 +9,18 @@
flex: 0 0 62.5%;
width: 62.5%;
padding-right: 152px;
.clearfix();
zoom: 1;
&:before,
&:after {
content: " ";
display: table;
}
&:after {
clear: both;
visibility: hidden;
font-size: 0;
height: 0;
}
}

.imgEle {
Expand Down

0 comments on commit debfa50

Please sign in to comment.