Skip to content

Commit

Permalink
fix(): add z-index CSS property
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasGysemans committed Apr 29, 2021
1 parent b45c411 commit 432f88c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [1.2.1] - April 29, 2021

+ z-index CSS property

## [1.2.0] - April 28, 2021

New methods:
Expand Down
2 changes: 2 additions & 0 deletions src/panel-style.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
:root {
--panel-z-index: 1001;
--panel-background-color: #fff;
--panel-box-shadow: 0 0 4px rgba(204, 204, 204, 0.75);
--panel-width: 160px;
Expand All @@ -13,6 +14,7 @@
.jspanel {
box-sizing: border-box;
position: absolute;
z-index: var(--panel-z-index, 1001);
background-color: var(--panel-background-color, #fff);
box-shadow: var(--panel-box-shadow, 0 0 4px rgba(204, 204, 204, 0.75));
border-radius: 5px;
Expand Down

0 comments on commit 432f88c

Please sign in to comment.