!1466 优化:文件列表显示UI

pull/1466/MERGE
ChenX 4 years ago
parent 7fee8c6cff
commit b9e9d3b09d

@ -95,7 +95,7 @@
"@types/react-virtualized-auto-sizer": "^1.0.0",
"@types/react-window": "^1.8.2",
"detect-browser": "^5.1.1",
"dxf-parser": "git+https://ZoeLeee@github.com/ZoeLeee/dxf-parser.git",
"dxf-parser": "git+https://gitee.com/BearCAD/dxf-parser.git",
"flatbush": "^3.3.0",
"golden-layout": "^1.5.9",
"js-angusj-clipper": "^1.1.0",

@ -60,8 +60,17 @@
display: flex;
padding: 5px 0;
&>div {
flex: 1;
:nth-child(1){
flex:1;
}
:nth-child(2){
width: 160px;
}
:nth-child(3){
width: 100px;
}
:nth-child(4){
width: 100px;
}
}
@ -75,13 +84,25 @@
display: flex;
align-items: center;
&>div {
flex: 1;
text-align: left;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
:nth-child(1){
flex:1;
}
:nth-child(2){
width: 160px;
}
:nth-child(3){
width: 100px;
}
:nth-child(4){
width: 100px;
}
// &>div {
// flex: 1;
// text-align: left;
// overflow: hidden;
// text-overflow: ellipsis;
// white-space: nowrap;
// }
img {
height: 40px;

Loading…
Cancel
Save