From 2e428ddd587c4dfbffc1483c0460f1d5709013dc Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Tue, 14 Mar 2017 13:04:08 +0100 Subject: [PATCH] [beta] Safari fixes (#4902) * Add intitial max-width to sections * Move background z-index to -1 --- js/src/ui/Portal/portal.css | 2 +- js/src/ui/SectionList/sectionList.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/js/src/ui/Portal/portal.css b/js/src/ui/Portal/portal.css index 7d66c0a9a..2e6ff8370 100644 --- a/js/src/ui/Portal/portal.css +++ b/js/src/ui/Portal/portal.css @@ -51,7 +51,7 @@ $popoverZ: 3600; left: 0; right: 0; opacity: 0.25; - z-index: 0; + z-index: -1; } .overlay { diff --git a/js/src/ui/SectionList/sectionList.css b/js/src/ui/SectionList/sectionList.css index 14e8bffd1..4613371ad 100644 --- a/js/src/ui/SectionList/sectionList.css +++ b/js/src/ui/SectionList/sectionList.css @@ -44,6 +44,7 @@ $widthExpanded: 42%; box-sizing: border-box; display: flex; flex: 0 1 $widthNormal; + max-width: $widthNormal; opacity: 0.85; padding: 0.25em;