1.1.6: Tree width on iphone/Chrome suboptimal

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
hbrock
Posts: 1
Joined: Tue May 09, 2017 1:13 am

1.1.6: Tree width on iphone/Chrome suboptimal

Post by hbrock »

Hi,
thanks for giving us cacti 1.1.6 and I know, displaying web pages in different browsers is hell.

I had some trouble with the tree view displaying bad on iphone in landscape. The tree (left pane) took nearly half of the screen width, leaving not much for the graphs themselves. I flipped through the themes without much gain.

Did dive into the css and found the definition in include/themes/classic/main.css in sect. .cactiTreeNavigationArea
[stuff deleted]
width:250px;
max-width:450px;
[stuff deleted]

Changing this to
width: 15%;
min-width:100px;
max-width:450px;
crops a little bit on the names of tree elements but leaves enough room for the graphs themselves.

Obviously this is a thing that heavily depends on the usage (big screen vs mobile) and personal taste.
Just wanted to share.

Best regards
hbrock
pathia
Posts: 4
Joined: Sun Jan 10, 2010 3:58 am

Re: 1.1.6: Tree width on iphone/Chrome suboptimal

Post by pathia »

This is also true for Android. At least on my Samsung S7 Edge and Samsung S4 mini.
I wasn't able to see the right side of my graphs, which is most of the time the most interesting side of a graph because it shows the most recent data :)

Thanks for pointing me in the right direction.. I only changed the width to 30%. Now it is still not a very nice layout, but it does the trick.
I hope the devs see this message so they can fix it on their side as well.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest