Resize thumbnails in tile view to 128px

This commit is contained in:
Hadi Nategh 2015-01-21 15:26:10 +00:00
parent 847bc2ef15
commit ba24a4b474
3 changed files with 9 additions and 1 deletions

View File

@ -73,6 +73,10 @@ table.egwGridView_grid .tile .file_tile {
display: block;
max-width: 140px;
}
#filemanager-index_nm .file_tile img.vfsMimeIcon[src*="/etemplate/thumbnail.php"] {
height: auto;
max-height: 128px;
}
.tile .file_tile img.vfsMimeIcon {
height: auto;
width: auto;

View File

@ -19,7 +19,7 @@
</row>
<row class="tile $row_cont[class]">
<vbox class="file_tile" width="150px" height="110px">
<vfs-mime align="center" id="$row"/>
<vfs-mime align="center" id="$row" thumb_mime_size="image,128"/>
<vfs-name id="${row}[name]" no_lang="1" readonly="true"/>
<description id="${row}[comment]"/>
</vbox>

View File

@ -100,6 +100,10 @@ table.egwGridView_grid .tile .file_tile {
display: block;
max-width: 140px;
}
#filemanager-index_nm .file_tile img.vfsMimeIcon[src*="/etemplate/thumbnail.php"] {
height: auto;
max-height: 128px;
}
.tile .file_tile img.vfsMimeIcon {
height: auto;
width: auto;