diff --git a/filemanager/templates/default/app.css b/filemanager/templates/default/app.css index 6291559938..b8d114310b 100644 --- a/filemanager/templates/default/app.css +++ b/filemanager/templates/default/app.css @@ -64,6 +64,14 @@ div.filemanager_navigation > label > input { max-height: none; } +#filemanager-index_nm img.vfsMimeIcon { + max-height: 16px; + height: auto; +} +#filemanager-index_nm img.vfsMimeIcon[src*="/etemplate/thumbnail.php"] { + max-height: none; +} + /** * Tile view table.egwGridView_grid .tile .file_tile { diff --git a/filemanager/templates/pixelegg/app.css b/filemanager/templates/pixelegg/app.css index d60b6a57fb..2c65920042 100755 --- a/filemanager/templates/pixelegg/app.css +++ b/filemanager/templates/pixelegg/app.css @@ -94,6 +94,13 @@ div.filemanager_navigation > label > input { text-overflow: ellipsis; max-height: none; } +#filemanager-index_nm img.vfsMimeIcon { + max-height: 16px; + height: auto; +} +#filemanager-index_nm img.vfsMimeIcon[src*="/etemplate/thumbnail.php"] { + max-height: none; +} /** * Tile view table.egwGridView_grid .tile .file_tile { diff --git a/phpgwapi/inc/class.egw_vfs.inc.php b/phpgwapi/inc/class.egw_vfs.inc.php index 711140689a..cdf1dd0cb3 100644 --- a/phpgwapi/inc/class.egw_vfs.inc.php +++ b/phpgwapi/inc/class.egw_vfs.inc.php @@ -1115,10 +1115,10 @@ class egw_vfs extends vfs_stream_wrapper * * @param string $mime_type * @param boolean $et_image =true return $app/$icon string for etemplate (default) or html img tag if false - * @param int $size =16 + * @param int $size =128 * @return string */ - static function mime_icon($mime_type, $et_image=true, $size=16) + static function mime_icon($mime_type, $et_image=true, $size=128) { if ($mime_type == egw_vfs::DIR_MIME_TYPE) {