Skip to content

Commit

Permalink
修正 Toast 擋住元件的問題 (#1088)
Browse files Browse the repository at this point in the history
* Fix style

* Fix by z-index
  • Loading branch information
peteranny authored Apr 20, 2023
1 parent d35173f commit 4166104
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@value NAV_HEIGHT, NAV_MOBILE_HEIGHT, TOP_HEIGHT, above-small from "common/variables.module.css";

.container {
z-index: 100;
z-index: 99;
position: fixed;
top: calc(NAV_MOBILE_HEIGHT);
right: 0;
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/PopoverToggle/Popover.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
.popover {
position: absolute;
display: block;
z-index: 10;
z-index: 999;
background-color: #fff;
box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
visibility: hidden;
Expand Down

0 comments on commit 4166104

Please sign in to comment.