-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Column Moving): Abs instead of fixed position
Fixed positioning in IE wasn't displaying correctly. This change uses relative positioning on the header row container, and absolute positioning on the cloned column header element. This also prevents having to check for IE when doing the positioning. Fixes #2894
- Loading branch information
Showing
3 changed files
with
14 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
@import '../../../less/variables'; | ||
|
||
.movingColumn { | ||
|
||
position: fixed; | ||
position: absolute; | ||
top: 0; | ||
border: 1px solid @borderColor; | ||
box-shadow: inset 0 0 14px rgba(0, 0, 0, 0.2); | ||
|
||
.ui-grid-icon-angle-down { | ||
display: none; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,6 +53,7 @@ | |
|
||
.ui-grid-header-cell-row { | ||
display: table-row; | ||
position: relative | ||
} | ||
|
||
.ui-grid-header-cell { | ||
|