Skip to content

Commit

Permalink
fix(styling): hidden menu visible in BS4 for Picker/Grid Menu, fix #321
Browse files Browse the repository at this point in the history
- fixes #321
- BS4 removed the "hidden" class making hidden menu showing in both ColumnPicker & GridMenu
  • Loading branch information
ghiscoding-SE committed Oct 22, 2019
1 parent 11a66e6 commit 9d597c4
Showing 1 changed file with 23 additions and 8 deletions.
31 changes: 23 additions & 8 deletions src/app/modules/angular-slickgrid/styles/slick-controls.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,17 @@
}
}

.slick-columnpicker-list > hr {
margin: 6px 0;
border: 0;
border-top: 1px solid #d5d5d5;
.slick-columnpicker-list {
/** make sure the hidden class exist, it was removed in BS4 */
li.hidden {
display: none;
}

hr {
margin: 6px 0;
border: 0;
border-top: 1px solid #d5d5d5;
}
}


Expand Down Expand Up @@ -185,10 +192,18 @@
display: inline-block;
vertical-align: middle;
}
.slick-gridmenu-list > hr {
margin: 6px 0;
border: 0;
border-top: 1px solid #dddddd;

.slick-gridmenu-list {
/** make sure the hidden class exist, it was removed in BS4 */
li.hidden {
display: none;
}

hr {
margin: 6px 0;
border: 0;
border-top: 1px solid #dddddd;
}
}

/* Disabled */
Expand Down

0 comments on commit 9d597c4

Please sign in to comment.