Merge branch 'dev' of http://60.209.125.238:20010/lijingjia/ds-wms-client-web into dev
commit
5e4022689f
@ -0,0 +1,31 @@
|
||||
.flex_arrange(@direction: row, @justify: center, @align: center) {
|
||||
display: flex;
|
||||
flex-direction: @direction;
|
||||
justify-content: @justify;
|
||||
align-items: @align;
|
||||
}
|
||||
|
||||
.line-feed() {
|
||||
word-break: break-all;
|
||||
word-wrap: break-word;
|
||||
white-space: break-spaces;
|
||||
hyphens: auto;
|
||||
}
|
||||
|
||||
.ellipses() {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
-o-text-overflow: hidden;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
|
||||
.text_ellipsis_rowX(@lineNum: 2) {
|
||||
text-overflow: -o-ellipsis-lastline;
|
||||
overflow: hidden; //溢出内容隐藏
|
||||
text-overflow: ellipsis; //文本溢出部分用省略号表示
|
||||
display: -webkit-box; //特别显示模式
|
||||
-webkit-line-clamp: @lineNum; //行数
|
||||
line-clamp: @lineNum;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
Loading…
Reference in New Issue