Skip to content

Commit 9d91805

Browse files
committed
fix(uiGridColumnMenu): Position relatively
Positioning absolutely worked in all browsers but IE9. It was positioning the column menu at the top of the page... Changing to relative seems to have fixed this in IE9 and kept all other browsers the same. Fixes #2319
1 parent e1d8b60 commit 9d91805

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/less/header.less

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
.ui-grid-top-panel-background {
3-
.gradient(@headerBackgroundColor, @headerGradientStart, @headerGradientStop);
3+
.gradient(@headerBackgroundColor, @headerGradientStart, @headerGradientStop);
44
}
55

66
@topPanelRadius: @gridBorderRadius - @gridBorderWidth;
@@ -17,7 +17,7 @@
1717
overflow: hidden; // Disable so menus show up
1818
font-weight: bold;
1919

20-
// .gradient(@headerBackgroundColor, @headerGradientStart, @headerGradientStop);
20+
// .gradient(@headerBackgroundColor, @headerGradientStart, @headerGradientStop);
2121
.ui-grid-top-panel-background;
2222

2323
.border-radius(@topPanelRadius, 0, 0, @topPanelRadius);
@@ -103,7 +103,7 @@
103103
}
104104

105105
.ui-grid-column-menu {
106-
position: absolute;
106+
position: relative;
107107
}
108108

109109
/* Slide up/down animations */
@@ -112,12 +112,12 @@
112112
.transition(all, 0.05s, linear);
113113
display: block !important;
114114
}
115-
115+
116116
&.ng-hide-add.ng-hide-add-active,
117117
&.ng-hide-remove {
118118
.transform(translateY(-100%));
119119
}
120-
120+
121121
&.ng-hide-add,
122122
&.ng-hide-remove.ng-hide-remove-active {
123123
.transform(translateY(0));
@@ -130,12 +130,12 @@
130130
.transition(all, 0.05s, linear);
131131
display: block !important;
132132
}
133-
133+
134134
&.ng-hide-add.ng-hide-add-active,
135135
&.ng-hide-remove {
136136
.transform(translateY(-100%));
137137
}
138-
138+
139139
&.ng-hide-add,
140140
&.ng-hide-remove.ng-hide-remove-active {
141141
.transform(translateY(0));

0 commit comments

Comments
 (0)