From 0867967a736d2d5c9ccc5b6eda5491ce246a7de4 Mon Sep 17 00:00:00 2001 From: John Moody Date: Sat, 9 Nov 2019 19:52:12 +0000 Subject: [PATCH] multiple fixes - Fixed overlay being at the top of the page on scrollable pages. - Fixed slideout not working on Edge. --- src/index.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/index.css b/src/index.css index ab94edb..7725354 100644 --- a/src/index.css +++ b/src/index.css @@ -1,5 +1,5 @@ .SlideWrapper { - position: absolute; + position: fixed; right: 0; top: 0; bottom: 0; @@ -122,7 +122,7 @@ @keyframes slideIn--right { 0% { - right: calc(-100%); + right: -100%; } 100% { right: 0; @@ -134,13 +134,13 @@ right: 0; } 100% { - right: calc(-100%); + right: -100%; } } @keyframes slideIn--left { 0% { - left: calc(-100%); + left: 100%; } 100% { left: 0; @@ -152,6 +152,6 @@ left: 0; } 100% { - left: calc(-100%); + left: 100%; } -} +} \ No newline at end of file