Skip to content

Commit b92fd0f

Browse files
committed
Fixed overflow support
1 parent 1fff8d6 commit b92fd0f

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

app/styles/menu.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,13 @@
3838
border-radius: 0;
3939
visibility: hidden;
4040
transition-delay: 0.3s;
41+
/* max-height: calc(100vh - 120px);
42+
overflow: auto*/
43+
}
44+
45+
.dropdown-overflow {
4146
max-height: calc(100vh - 120px);
42-
overflow: auto
47+
overflow-y: auto
4348
}
4449

4550
.dropdown-submenu:hover > .dropdown-menu {

app/views/menu.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
<ul uib-dropdown-menu>
198198
<li class="dropdown-submenu" uib-dropdown>
199199
<a href uib-dropdown-toggle>{{ 'Board' | translate }}</a>
200-
<ul uib-dropdown-menu>
200+
<ul uib-dropdown-menu class="dropdown-overflow">
201201
<li><a><b>HX1K</b></a></li>
202202
<li ng-repeat="board in common.boards">
203203
<menuboard type="'HX1K'" board="board"></menuboard>

0 commit comments

Comments
 (0)