From cc07d7c0a4e58a1c9f409404418bb45bd426042e Mon Sep 17 00:00:00 2001 From: Grzegorz Zdunek Date: Mon, 25 Nov 2024 17:34:29 +0100 Subject: [PATCH] [v15] Fix missing shadow of resource cards in Connect (#49356) * Fix missing shadow of resource cards in Connect * Add a comment about Chromium issues --- web/packages/teleterm/src/ui/Document/Document.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/packages/teleterm/src/ui/Document/Document.tsx b/web/packages/teleterm/src/ui/Document/Document.tsx index 454134fbb2441..879f0c700b85c 100644 --- a/web/packages/teleterm/src/ui/Document/Document.tsx +++ b/web/packages/teleterm/src/ui/Document/Document.tsx @@ -29,12 +29,14 @@ const Document: React.FC<{ shouldFocus: visible && !autoFocusDisabled, }); + // The background-color of Document is controlled through and it + // cannot be set on Document directly because of Chromium issues with z-index. + // Read more https://github.com/gravitational/teleport/pull/49351. return (