aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/style/z_index.ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-11-08 12:53:25 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-11-08 12:53:25 +0800
commit4181a040b5d5ca2335556948585278133ec63bd1 (patch)
tree8174e8817d9658f0d53b1ddd61fe0552de4630ed /packages/instant/src/style/z_index.ts
parentc0d8ceca82a91a3a6c222e71ecb58f2cd95da62e (diff)
downloaddexon-0x-contracts-4181a040b5d5ca2335556948585278133ec63bd1.tar.gz
dexon-0x-contracts-4181a040b5d5ca2335556948585278133ec63bd1.tar.zst
dexon-0x-contracts-4181a040b5d5ca2335556948585278133ec63bd1.zip
feat: refactor out overlay component and use it to implement click-outside
Diffstat (limited to 'packages/instant/src/style/z_index.ts')
-rw-r--r--packages/instant/src/style/z_index.ts9
1 files changed, 5 insertions, 4 deletions
diff --git a/packages/instant/src/style/z_index.ts b/packages/instant/src/style/z_index.ts
index 95e6cd912..0eedcaf29 100644
--- a/packages/instant/src/style/z_index.ts
+++ b/packages/instant/src/style/z_index.ts
@@ -1,6 +1,7 @@
export const zIndex = {
- errorPopup: 1,
- mainContainer: 2,
- dropdownItems: 3,
- panel: 4,
+ errorPopup: 10,
+ mainContainer: 20,
+ dropdownItems: 30,
+ panel: 40,
+ overlayDefault: 100,
};