Skip to content

Commit eba2d0f

Browse files
authored
fix(styling): cell/context menus get re-position below the grid (#479)
- 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
1 parent c49f950 commit eba2d0f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/app/modules/angular-slickgrid/styles/slick-plugins.scss

+14
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@
1919
overflow: auto;
2020
resize: both;
2121

22+
/* make sure that other UI frameworks aren't overriding our properties (Bulma was one of them affecting this) */
23+
&.dropdown,
24+
&.dropup {
25+
display: inline-block;
26+
position: absolute;
27+
}
28+
2229
> .close {
2330
float: right;
2431
cursor: pointer;
@@ -130,6 +137,13 @@
130137
overflow: auto;
131138
resize: both;
132139

140+
/* make sure that other UI frameworks aren't overriding our properties (Bulma was one of them affecting this) */
141+
&.dropdown,
142+
&.dropup {
143+
display: inline-block;
144+
position: absolute;
145+
}
146+
133147
> .close {
134148
float: right;
135149
background-color: $context-menu-close-btn-bg-color;

0 commit comments

Comments
 (0)