Browse Source

fix babel-plugin-css-modules-transform broken with less function for the moment

https://github.com/michalkvasnicak/babel-plugin-css-modules-transform/issues/67
pull/204/head 0.2.3-rc.1
nikogu 8 years ago
parent
commit
debfa5086b
  1. 2
      package.json
  2. 12
      src/components/Charts/ChartCard/index.less
  3. 14
      src/components/Exception/index.less

2
package.json

@ -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": {

12
src/components/Charts/ChartCard/index.less

@ -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 {
@ -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;

14
src/components/Exception/index.less

@ -1,5 +1,4 @@
@import "~antd/lib/style/themes/default.less";
@import "~antd/lib/style/mixins/clearfix.less";
.exception {
display: flex;
@ -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 {

Loading…
Cancel
Save