Project

General

Profile

Bug #7943

CSS Overflow Fix for Drop Down Menus in webConfigurator

Added by Ken Moini over 3 years ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
-
Start date:
10/15/2017
Due date:
% Done:

0%

Estimated time:
0.01 h
Affected Version:
2.4.x
Affected Architecture:
amd64

Description

Some resolutions (16:9 on laptops) don't have the vertical height to display all drop down menu items on items such as "Services" and "Diagnostics." See attachment for depicted example.

Adding two modifiers to the CSS stylesheet fixes this issue with no issues for displays with enough vertical height to display the full drop down list.

#pf-navbar .navbar-nav > li > .dropdown-menu {
max-height: calc(100vh - 55px);
overflow:auto;
}

See attached file for fix depiction. Might need to place in specific media-query segments of stylesheet to prevent affecting mobile users if the bootstrap base is responsive.

Thanks in advanced,
-Ken Moini

pfSenseError.png (172 KB) pfSenseError.png pfSense webConfigurator DropDown Scroll Issue Ken Moini, 10/15/2017 01:55 PM
pfSenseFix.png (159 KB) pfSenseFix.png pfSense webConfigurator DropDown Scroll Fix Ken Moini, 10/15/2017 01:58 PM

History

#1 Updated by Kris Phillips about 2 months ago

Scrolling the entire page down slightly will allow access to these menu items in constrained situations. However, this may be a more elegant solution. Not necessarily a problem, though. Might just look better with a bit of CSS pizzazz.

Also available in: Atom PDF