Created attachment 1194050 [details] sparkline tooltip 2 lines Description of problem: If hour in sparkline tooltip has 2 digits, tootlip splits into 2 lines. Version-Release number of selected component (if applicable): ovirt-engine-dashboard-1.0.2-1.el7ev.x86_64 How reproducible: unknown Steps to Reproduce: 1. log into admin portal 2. need running VMs, that generate some usage 3. see Dashboard, if the sparkline values are > 0, move the mouse over it Actual results: if the hour in tooltip has 2 digits but with unknown exact conditions, it splits into 2 lines, see attachment Expected results: all tooltips are only in 1 line Additional info: Strange behavior on CPU sparkline, where I have most of the values = 0%, the last value is also 0, but before that there are 2 values that are shown as > 0 on the sparkline. In this case if I move the mouse from left to right, tooltips are always in 1 row. But when I move mouse from right to left it is in 2 lines. I can't figure out on which exact conditions the tooltip splits. tested in Firefox 47.0
(In reply to Lucie Leistnerova from comment #0) > Additional info: > Strange behavior on CPU sparkline, where I have most of the values = 0%, the > last value is also 0, but before that there are 2 values that are shown as > > 0 on the sparkline. In this case if I move the mouse from left to right, > tooltips are always in 1 row. But when I move mouse from right to left it is > in 2 lines. Nice catch! I've noticed the same behavior when looking into this bug. I wasn't sure what exactly triggers the wrapping, however this was fixed by preventing text to wrap in bug 1347238 so I'd say it's fixed. *** This bug has been marked as a duplicate of bug 1347238 ***