Skip to content

Commit

Permalink
Moving close icon to prevent overlap with title (#3176)
Browse files Browse the repository at this point in the history
  • Loading branch information
elizabetdev authored Mar 26, 2020
1 parent c495aef commit 93057ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## [`master`](https://github.com/elastic/eui/tree/master)

- Improved `EuiModal` close button position to prevent from overlapping with the title ([#3176](https://github.com/elastic/eui/pull/3176))

**Bug Fixes**

- Fixed EuiBasicTable proptypes of itemId ([#3133](https://github.com/elastic/eui/pull/3133))
Expand Down
4 changes: 2 additions & 2 deletions src/components/modal/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@
.euiModal__closeIcon {
background-color: transparentize($euiColorEmptyShade, .1);
position: absolute;
right: $euiSizeL - 7px;
top: $euiSizeL - 7px;
right: $euiSizeXS;
top: $euiSizeXS;
z-index: 3;
}

Expand Down

0 comments on commit 93057ac

Please sign in to comment.