diff options
author | Steve Klebanoff <steve@0xproject.com> | 2018-11-09 07:37:56 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-09 07:37:56 +0800 |
commit | 117e2f583ff44bdb63340a2134edea0f3ecb77b3 (patch) | |
tree | 9d7552953145bb784c4f6ef32c525b11081e603c /packages/instant/src/components/sliding_panel.tsx | |
parent | c448a409c1dd7411208aeb577b64ba1246fc03d1 (diff) | |
download | dexon-0x-contracts-117e2f583ff44bdb63340a2134edea0f3ecb77b3.tar.gz dexon-0x-contracts-117e2f583ff44bdb63340a2134edea0f3ecb77b3.tar.zst dexon-0x-contracts-117e2f583ff44bdb63340a2134edea0f3ecb77b3.zip |
[instant] Viewport specific errors (#1228)
feat(instant): Shows different error animation based on viewport
Diffstat (limited to 'packages/instant/src/components/sliding_panel.tsx')
-rw-r--r-- | packages/instant/src/components/sliding_panel.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/instant/src/components/sliding_panel.tsx b/packages/instant/src/components/sliding_panel.tsx index 7ef28e09c..a5d15c401 100644 --- a/packages/instant/src/components/sliding_panel.tsx +++ b/packages/instant/src/components/sliding_panel.tsx @@ -51,6 +51,7 @@ export const SlidingPanel: React.StatelessComponent<SlidingPanelProps> = props = from: slideAmount, to: '0px', }, + position: 'absolute', }; const slideDownSettings: PositionAnimationSettings = { duration: '0.3s', @@ -59,10 +60,10 @@ export const SlidingPanel: React.StatelessComponent<SlidingPanelProps> = props = from: '0px', to: slideAmount, }, + position: 'absolute', }; return ( <SlideAnimation - position="absolute" slideInSettings={slideUpSettings} slideOutSettings={slideDownSettings} animationState={animationState} |