Skip to content

Commit

Permalink
navbar, cap dropdown size, and add scroll bar (#28561)
Browse files Browse the repository at this point in the history
* navbar, cap dropdown size, and add scroll bar

* Formatting css

* main.css, remove extra newline

(cherry picked from commit 2aa52f4)
  • Loading branch information
michaelmicheal authored and ephraimbuddy committed Jan 12, 2023
1 parent 2a34ec4 commit ccbdab8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions airflow/www/static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ div.container {
color: #e2d2e2;
}

/* If a category has a lot of menu items, we cap it, and
add a scroll bar */
.navbar li.dropdown .dropdown-menu {
max-height: 300px;
overflow-y: auto;
}

.navbar-nav li.dropdown:hover > .dropdown-menu,
.navbar-nav li.dropdown:focus-within > .dropdown-menu {
display: block;
Expand Down

0 comments on commit ccbdab8

Please sign in to comment.