Skip to content

Commit

Permalink
fix(styling): cell/context menus get re-position below the grid (#479)
Browse files Browse the repository at this point in the history
- not an issue with Bootstrap but other frameworks like Bulma had this issue which it was overriding the SlickGrid cell-menu/context-menu styling because of these menus use generic css dropdown/dropup classes
  • Loading branch information
ghiscoding committed Jun 2, 2020
1 parent c49f950 commit eba2d0f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/app/modules/angular-slickgrid/styles/slick-plugins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@
overflow: auto;
resize: both;

/* make sure that other UI frameworks aren't overriding our properties (Bulma was one of them affecting this) */
&.dropdown,
&.dropup {
display: inline-block;
position: absolute;
}

> .close {
float: right;
cursor: pointer;
Expand Down Expand Up @@ -130,6 +137,13 @@
overflow: auto;
resize: both;

/* make sure that other UI frameworks aren't overriding our properties (Bulma was one of them affecting this) */
&.dropdown,
&.dropup {
display: inline-block;
position: absolute;
}

> .close {
float: right;
background-color: $context-menu-close-btn-bg-color;
Expand Down

0 comments on commit eba2d0f

Please sign in to comment.