From 54a40bfa01b64214b45f1d1142cb6bc2909a8673 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 9 May 2022 23:18:39 +0300 Subject: [PATCH] fix inline conversation's shadow showing through outer header --- src/components/conversation/conversation.vue | 2 ++ src/panel.scss | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/conversation/conversation.vue b/src/components/conversation/conversation.vue index ccedc121..6088e1ca 100644 --- a/src/components/conversation/conversation.vue +++ b/src/components/conversation/conversation.vue @@ -201,6 +201,8 @@ @import '../../_variables.scss'; .Conversation { + z-index: 1; + .conversation-dive-to-top-level-box { padding: var(--status-margin, $status-margin); border-bottom-width: 1px; diff --git a/src/panel.scss b/src/panel.scss index a14e732f..3a814269 100644 --- a/src/panel.scss +++ b/src/panel.scss @@ -18,7 +18,7 @@ bottom: 0; left: 0; right: 0; - z-index: 3; + z-index: 5; box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6); box-shadow: var(--panelShadow); pointer-events: none; @@ -60,7 +60,7 @@ padding: 0.6em; height: var(--__panel-heading-height); line-height: var(--__panel-heading-height-inner); - z-index: 3; + z-index: 4; &.-flexible-height { --__panel-heading-height: auto;