From 2b03f656c83be7ba93fdffcee5b18bcb463eb34a Mon Sep 17 00:00:00 2001 From: Juan Date: Tue, 3 Jul 2018 13:24:42 +0200 Subject: [PATCH] Popover overflow bugs fixed --- client/core/src/components/drop-down/style.scss | 1 + client/core/src/components/popover/style.scss | 11 +++++------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/client/core/src/components/drop-down/style.scss b/client/core/src/components/drop-down/style.scss index c668af096..28fbaa489 100755 --- a/client/core/src/components/drop-down/style.scss +++ b/client/core/src/components/drop-down/style.scss @@ -5,6 +5,7 @@ vn-drop-down { .dropdown { display: flex; flex-direction: column; + height: inherit; & > .filter { position: relative; diff --git a/client/core/src/components/popover/style.scss b/client/core/src/components/popover/style.scss index 458a47df9..b44554439 100644 --- a/client/core/src/components/popover/style.scss +++ b/client/core/src/components/popover/style.scss @@ -19,25 +19,24 @@ } & > .popover { position: absolute; - display: flex; box-shadow: 0 .1em .4em rgba(1, 1, 1, .4); + z-index: 0; & > .arrow { - width: 1em; + width: 1em; height: 1em; margin: -.5em; background-color: white; box-shadow: 0 .1em .4em rgba(1, 1, 1, .4); position: absolute; transform: rotate(45deg); - z-index: 0; + z-index: -1; } & > .content { - width: 100%; border-radius: .1em; - overflow: auto; background-color: white; - z-index: 1; + height: inherit; + overflow: auto; } } } \ No newline at end of file