!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-virtualized-auto-sizer": "^1.0.0",
"@types/react-window": "^1.8.2", "@types/react-window": "^1.8.2",
"detect-browser": "^5.1.1", "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", "flatbush": "^3.3.0",
"golden-layout": "^1.5.9", "golden-layout": "^1.5.9",
"js-angusj-clipper": "^1.1.0", "js-angusj-clipper": "^1.1.0",

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

Loading…
Cancel
Save