From d0fba5655ef730e012586f3be6ccb82f674308a7 Mon Sep 17 00:00:00 2001 From: Matt Driscoll Date: Thu, 6 Jun 2024 14:13:00 -0700 Subject: [PATCH] fix(popover): correct border radius on close button (#9485) **Related Issue:** #8208 ## Summary - Updates component to not have a bottom border radius when there is a header present --- .../calcite-components/src/components/popover/popover.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/calcite-components/src/components/popover/popover.scss b/packages/calcite-components/src/components/popover/popover.scss index 56a721d6bc1..227cf5087c0 100644 --- a/packages/calcite-components/src/components/popover/popover.scss +++ b/packages/calcite-components/src/components/popover/popover.scss @@ -109,6 +109,10 @@ border-end-end-radius: theme("borderRadius.DEFAULT"); } +.has-header .close-button-container { + border-end-end-radius: none; +} + ::slotted(calcite-panel), ::slotted(calcite-flow) { @apply h-full;