Skip to content

Commit

Permalink
Merge pull request #12379 from influxdata/fix/cells-context-menu
Browse files Browse the repository at this point in the history
fix(ui): update z-index of cells when hovered
  • Loading branch information
ischolten authored Mar 6, 2019
2 parents dcb8c6e + a4c0d12 commit f8c6fdb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
### Bug Fixes

1. [12302](https://github.com/influxdata/influxdb/pull/12302): Prevent clipping of code snippets in Firefox
1. [12379](https://github.com/influxdata/influxdb/pull/12379): Prevent clipping of cell edit menus in dashboards

### UI Improvements

Expand Down
6 changes: 5 additions & 1 deletion ui/src/shared/components/cells/react-grid-layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
z-index: $z--cell-default;
transition: all 200ms ease;
transition-property: left, top;

&:hover {
z-index: $z--cell-context-hover;
}
}
.react-grid-item.cssTransforms {
transition-property: transform;
Expand Down Expand Up @@ -58,7 +62,7 @@
bottom: 0;
right: 0;
opacity: 0;

&:before,
&:after {
content: '';
Expand Down

0 comments on commit f8c6fdb

Please sign in to comment.