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