Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sat Jun 24, 2017 2:10 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: 1.1.6: Tree width on iphone/Chrome suboptimal
PostPosted: Tue May 09, 2017 1:27 am 
Offline

Joined: Tue May 09, 2017 1:13 am
Posts: 1
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


Top
 Profile  
 
 Post subject: Re: 1.1.6: Tree width on iphone/Chrome suboptimal
PostPosted: Tue May 23, 2017 5:44 pm 
Offline

Joined: Sun Jan 10, 2010 3:58 am
Posts: 4
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group