Cacti / plugin_monitor

Monitor Plugin for Cacti
GNU General Public License v2.0
36 stars 39 forks source link

small visual bug in tree view #173

Closed interduo closed 8 months ago

interduo commented 8 months ago

Describe the bug In monitor plugin in "Site" view the icons are not positioned by top line as on screenshot.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://cacti/plugins/monitor/monitor.php?action=change&refresh=30&grouping=tree
  2. See results

Expected behavior Icons in one line.

Screenshots image

TheWitness commented 8 months ago

@xmacan, can you look at this? Maybe a w3c violation or muddled up CSS classes.

TheWitness commented 8 months ago

I'm not seeing this on the 1.2.x branch. Maybe you modified your main.css file a bit?

image

interduo commented 8 months ago

@TheWitness you have got all device names very short. It occurs when device names are mixed (short and long). I tested on origin/develop branch and 1.2.x

xmacan commented 8 months ago

I will look at it

xmacan commented 8 months ago

@interduo - one word change. Please could you test?

interduo commented 8 months ago

It's ok now - but only when icons are set to medium. You need to put this change also in other CSS classes.

xmacan commented 8 months ago

You are right, fixed, thank you

interduo commented 8 months ago

Please close issue when You merge this commit(s). Thanks.