You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assignee: (none)
Status: Resolved (closed on 2016-02-27 21:50:04 +00:00)
Target Version: 2.2.0
Last Update: 2016-02-27 21:50:04 +00:00 (in Redmine)
https://dev.icinga.org/issues/8665 provided for supporting icon_image in Icinga Web 2. However, it appears that IW2 makes to attempts to resize the supplied icons - even by just adding the appropriate HTML attributes to have the browser resize the icon without growing parent elements on the page.
This continues to work as expected in the Classic UI, which allows for "larger" images to be supplied as source, which can appear larger on the information pages - but in the "Host / Service Detail" pages, they are rendered with height="20" width="20".
The same should happen in IW2, or configurable values should be allowed, or admins should be able to easily and properly manage custom CSS that would be able to accommodate this. (See also https://lists.icinga.org/pipermail/icinga-users/2015-June/009731.html, which supports the latter part of this request.) For now, I simply hacked /usr/share/icingaweb2/public/css/icinga/main.less to include img.icon{width:20px;height:20px} - but this isn't exactly maintainable. Even just providing a "custom.less" file that would be read by the library and generated into the resulting "icinga.main.css" could be helpful here.
This issue has been migrated from Redmine: https://dev.icinga.com/issues/11032
Created by ziesemer on 2016-01-26 07:17:19 +00:00
Assignee: (none)
Status: Resolved (closed on 2016-02-27 21:50:04 +00:00)
Target Version: 2.2.0
Last Update: 2016-02-27 21:50:04 +00:00 (in Redmine)
https://dev.icinga.org/issues/8665 provided for supporting
icon_image
in Icinga Web 2. However, it appears that IW2 makes to attempts to resize the supplied icons - even by just adding the appropriate HTML attributes to have the browser resize the icon without growing parent elements on the page.This continues to work as expected in the Classic UI, which allows for "larger" images to be supplied as source, which can appear larger on the information pages - but in the "Host / Service Detail" pages, they are rendered with
height="20" width="20"
.The same should happen in IW2, or configurable values should be allowed, or admins should be able to easily and properly manage custom CSS that would be able to accommodate this. (See also https://lists.icinga.org/pipermail/icinga-users/2015-June/009731.html, which supports the latter part of this request.) For now, I simply hacked
/usr/share/icingaweb2/public/css/icinga/main.less
to includeimg.icon{width:20px;height:20px}
- but this isn't exactly maintainable. Even just providing a "custom.less
" file that would be read by the library and generated into the resulting "icinga.main.css
" could be helpful here.Changesets
2016-02-27 20:57:02 +00:00 by elippmann dc0359f
The text was updated successfully, but these errors were encountered: