diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-11-08 12:53:25 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-11-08 12:53:25 +0800 |
commit | 4181a040b5d5ca2335556948585278133ec63bd1 (patch) | |
tree | 8174e8817d9658f0d53b1ddd61fe0552de4630ed /packages/instant/src/style/z_index.ts | |
parent | c0d8ceca82a91a3a6c222e71ecb58f2cd95da62e (diff) | |
download | dexon-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.ts | 9 |
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, }; |