mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
rewrited sizing of names if they are to long thrue css, from JavaScript
This commit is contained in:
parent
c034e23807
commit
d0df126855
3 changed files with 15 additions and 24 deletions
|
|
@ -186,8 +186,15 @@ background:url(/img/panel_refresh.png) 0 -15px no-repeat;
|
|||
}
|
||||
/* информация о файлах и папках*/
|
||||
.name{
|
||||
float: left;
|
||||
width: 37%;
|
||||
float: left;
|
||||
width: 37%;
|
||||
/* если длина имени файла больше 16 символов
|
||||
* отрезаем лишнее, оставляя лишь 16,
|
||||
* и добавляем две точки и тайтл
|
||||
*/
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.size{
|
||||
float:left;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue