Cosmetic - Home Dashboard formatting issue

This support forum board is for questions relating to Nagios Fusion.
Locked
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Cosmetic - Home Dashboard formatting issue

Post by eloyd »

Using Nagios Fusion 2014R1.1, here are the steps:

Go to Dashboard tab
select "Home Page" dashboard
Put two things on it, nicely formatted on top of each other, with the top element basically at the top of the page:
pic1.jpg
Now go to Home tab
Bask in the awkward formatting of the second element
pic2.jpg
I'm assuming that this is because there is now a header called "Nagios Fusion" in the home page view of the dashboard that is not there during dashboard design. As a result, the formatting of the first item is moved down to make room for the header, but the second item retains its vertical position relative to the physical page, not the first element. They end up being squashed together.

Moving the elements down a few lines on the dashboard ends up fixing this problem for some reason, which makes no sense to me. If things are being moved to make room for the header, then I expect them to always be moved, not just if the element is inside the header's original space (stop touching me!!!!).
pic3.jpg
Looking forward to hearing thoughts on why this is and if there's any hope for a fix (other than, "hey, Eric, always make your dashboards start 1.5em+bold from the top of the page") :-)
You do not have the required permissions to view the files attached to this post.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Cosmetic - Home Dashboard formatting issue

Post by ssax »

Mine actually hovers over the title, I used the lock button though, did you lock yours and it still did it? I'm not sure if they'll be an easy fix for it because I think it uses absolute positioning.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Cosmetic - Home Dashboard formatting issue

Post by tmcdonald »

eloyd wrote:I'm assuming that this is because there is now a header called "Nagios Fusion" in the home page view of the dashboard that is not there during dashboard design. As a result, the formatting of the first item is moved down to make room for the header, but the second item retains its vertical position relative to the physical page, not the first element. They end up being squashed together.
I think you're right, I'll bring this up with the devs. They're hitting XI pretty hard right now, so I doubt this will be looked at until after the conference.
eloyd wrote:Looking forward to hearing thoughts on why this is and if there's any hope for a fix (other than, "hey, Eric, always make your dashboards start 1.5em+bold from the top of the page") :-)
"hey, Eric..." :)

I don't have a better answer at the moment.
Former Nagios employee
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Cosmetic - Home Dashboard formatting issue

Post by eloyd »

ssax wrote:Mine actually hovers over the title, I used the lock button though, did you lock yours and it still did it? I'm not sure if they'll be an easy fix for it because I think it uses absolute positioning.
Yes, I locked it. As I said - it's a cosmetic thing

@tm - the easiest thing might be to add a similar header to the Dashboard editing screen just to make sure things get put in the same place on both screens. :-)

See you in a week.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Cosmetic - Home Dashboard formatting issue

Post by ssax »

Ah, ok, thanks for letting us know.
Locked