Commit debfa508 authored by nikogu's avatar nikogu

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

https://github.com/michalkvasnicak/babel-plugin-css-modules-transform/issues/67
parent cc7212e1
{ {
"name": "ant-design-pro", "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", "description": "An out-of-box UI solution for enterprise applications",
"private": true, "private": true,
"scripts": { "scripts": {
......
@import "~antd/lib/style/themes/default.less"; @import "~antd/lib/style/themes/default.less";
.textOverflow() {
overflow: hidden;
text-overflow: ellipsis;
word-break: break-all;
white-space: nowrap;
}
.chartCard { .chartCard {
position: relative; position: relative;
.meta { .meta {
...@@ -23,7 +16,10 @@ ...@@ -23,7 +16,10 @@
right: 0; right: 0;
} }
.total { .total {
.textOverflow(); overflow: hidden;
text-overflow: ellipsis;
word-break: break-all;
white-space: nowrap;
color: @heading-color; color: @heading-color;
margin-top: 4px; margin-top: 4px;
margin-bottom: 0; margin-bottom: 0;
......
@import "~antd/lib/style/themes/default.less"; @import "~antd/lib/style/themes/default.less";
@import "~antd/lib/style/mixins/clearfix.less";
.exception { .exception {
display: flex; display: flex;
...@@ -10,7 +9,18 @@ ...@@ -10,7 +9,18 @@
flex: 0 0 62.5%; flex: 0 0 62.5%;
width: 62.5%; width: 62.5%;
padding-right: 152px; padding-right: 152px;
.clearfix(); zoom: 1;
&:before,
&:after {
content: " ";
display: table;
}
&:after {
clear: both;
visibility: hidden;
font-size: 0;
height: 0;
}
} }
.imgEle { .imgEle {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment