[
https://issues.apache.org/jira/browse/AMBARI-11670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antonenko Alexander updated AMBARI-11670:
-----------------------------------------
Attachment: ambari_metrics_word_break_with_patch.jpg
using_word-wrap_break-word.jpg
without_any_changes.jpg
[[email protected]] Changes looks good, but there are some minor issues that
we should take care.
After applying patch "Ambari Metrics" looks broken
(!ambari_metrics_word_break_with_patch.jpg|thumbnail!),
at the same time it seems to me there is no need to break that service name at
all, because there plenty of space for this service
name.(!without_any_changes.jpg|thumbnail!). Maybe we should reconsider paddings
and width, so that at least service names that we showed in one line before
patch will stay the same.
Also with word-break: break-all, we can get in situations when service names
will be shown in bad manner. Maybe we should use word-wrap: break-word instead
? (!using_word-wrap_break-word.jpg!)
> Width of services menu container is fixed and causes part of longer service
> names to be rendered outside the frame
> ------------------------------------------------------------------------------------------------------------------
>
> Key: AMBARI-11670
> URL: https://issues.apache.org/jira/browse/AMBARI-11670
> Project: Ambari
> Issue Type: Bug
> Components: ambari-web
> Affects Versions: 2.1.0
> Reporter: Sangeeta Ravindran
> Assignee: Keta Patel
> Priority: Minor
> Attachments: AMBARI-11670.patch,
> ambari_metrics_word_break_with_patch.jpg, big_alert_count.png,
> long_service_name.png, refresh_icon_with_patch.jpg,
> refresh_icon_without_patch.jpg, service_name_and_alerts_with_fix.png,
> using_word-wrap_break-word.jpg, without_any_changes.jpg
>
>
> If a service has a really long name (19 characters or more), part of the
> service name is rendered outside the frame. Any action icons for e.g. refresh
> also appear outside the frame.
> The frame width should change dynamically to accommodate a longer service
> name or the service name should wrap to the next line.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)