Skip to content

Commit

Permalink
fix(styling): hidden menu visible in BS4 for Picker/Grid Menu
Browse files Browse the repository at this point in the history
- ref Angular-Slickgrid issue [#321](ghiscoding/Angular-Slickgrid#321)
- BS4 removed the "hidden" class making hidden menu showing in both ColumnPicker & GridMenu
  • Loading branch information
ghiscoding committed Oct 23, 2019
1 parent 511ce3b commit 9e06f2c
Showing 1 changed file with 23 additions and 8 deletions.
31 changes: 23 additions & 8 deletions src/aurelia-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 9e06f2c

Please sign in to comment.