rewrited sizing of names if they are to long thrue css, from JavaScript

This commit is contained in:
coderaiser 2012-11-04 04:45:31 -05:00
parent c034e23807
commit d0df126855
3 changed files with 15 additions and 24 deletions

View file

@ -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;