mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-12-26 01:18:21 +01:00
fix: file name display inconsitent between views
This commit is contained in:
parent
c26e27d7ec
commit
d109d6af39
@ -463,9 +463,10 @@ namespace OS {
|
||||
}
|
||||
if(!v.text)
|
||||
v.text = v.filename;
|
||||
/*
|
||||
if (v.text.length > 10) {
|
||||
v.text = v.text.substring(0, 9) + "...";
|
||||
}
|
||||
}*/
|
||||
v.iconclass = v.iconclass ? v.iconclass : v.type;
|
||||
v.icon = v.icon;
|
||||
items.push(v);
|
||||
|
@ -8,7 +8,7 @@ afx-file-view afx-label.status{
|
||||
}
|
||||
afx-file-view afx-list-view > div.list-container > ul li{
|
||||
width:70px;
|
||||
height: 60px;
|
||||
/*height: 60px;*/
|
||||
background-color: transparent;
|
||||
text-align: center;
|
||||
margin-right: 5px;
|
||||
|
@ -7,7 +7,7 @@ afx-file-view afx-label.status{
|
||||
}
|
||||
afx-file-view afx-list-view > div.list-container > ul li{
|
||||
width:70px;
|
||||
height: 60px;
|
||||
/*height: 60px;*/
|
||||
background-color: transparent;
|
||||
text-align: center;
|
||||
margin-right: 5px;
|
||||
|
@ -7,15 +7,24 @@ afx-file-view afx-label.status{
|
||||
left:0px;
|
||||
transform: translateZ(0);
|
||||
}
|
||||
afx-file-view afx-list-view > div.list-container > ul
|
||||
{
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
}
|
||||
afx-file-view afx-list-view > div.list-container > ul li{
|
||||
float:left;
|
||||
display: block;
|
||||
/*display: block;*/
|
||||
}
|
||||
|
||||
afx-file-view afx-list-view i{
|
||||
display: block;
|
||||
}
|
||||
|
||||
afx-file-view afx-list-view i.label-text{
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
afx-file-view afx-grid-view i{
|
||||
display: inline-block;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user