From e756b09e5b5f57f679034b68e82ca65b2b523a9c Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Sat, 18 Mar 2017 10:30:18 +0100 Subject: [PATCH] Add z-index to small modals as well (#4923) --- js/src/ui/Portal/portal.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/src/ui/Portal/portal.css b/js/src/ui/Portal/portal.css index 2e6ff8370..85e8be4f1 100644 --- a/js/src/ui/Portal/portal.css +++ b/js/src/ui/Portal/portal.css @@ -68,12 +68,13 @@ $popoverZ: 3600; } &.modal { + z-index: $modalZ; + &:not(.small) { bottom: $modalBottom; left: $modalLeft; right: $modalRight; top: $modalTop; - z-index: $modalZ; } /* TODO: Small Portals don't adjust their overall height like we have with the