mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
limit height of mime icon in list-view to 16px, with exception of thumbnails using their configured height
This commit is contained in:
parent
157230ba57
commit
4476126986
@ -64,6 +64,14 @@ div.filemanager_navigation > label > input {
|
|||||||
max-height: none;
|
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
|
* Tile view
|
||||||
table.egwGridView_grid .tile .file_tile {
|
table.egwGridView_grid .tile .file_tile {
|
||||||
|
@ -94,6 +94,13 @@ div.filemanager_navigation > label > input {
|
|||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
max-height: none;
|
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
|
* Tile view
|
||||||
table.egwGridView_grid .tile .file_tile {
|
table.egwGridView_grid .tile .file_tile {
|
||||||
|
@ -1115,10 +1115,10 @@ class egw_vfs extends vfs_stream_wrapper
|
|||||||
*
|
*
|
||||||
* @param string $mime_type
|
* @param string $mime_type
|
||||||
* @param boolean $et_image =true return $app/$icon string for etemplate (default) or html img tag if false
|
* @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
|
* @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)
|
if ($mime_type == egw_vfs::DIR_MIME_TYPE)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user