From 07d6862b2eb33149dbe6b9fa5b45fae783141ffc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20=C3=87etin?= <92744169+mehmetcetin01140@users.noreply.github.com> Date: Mon, 20 Nov 2023 17:14:46 +0300 Subject: [PATCH] Fix Panel: Unexpected border radius behavior --- theme-base/components/panel/_panel.scss | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/theme-base/components/panel/_panel.scss b/theme-base/components/panel/_panel.scss index be03c73..299e7e1 100644 --- a/theme-base/components/panel/_panel.scss +++ b/theme-base/components/panel/_panel.scss @@ -27,9 +27,12 @@ border: $panelContentBorder; background: $panelContentBg; color: $panelContentTextColor; - border-bottom-right-radius: $borderRadius; - border-bottom-left-radius: $borderRadius; border-top: 0 none; + + &:last-child { + border-bottom-right-radius: $borderRadius; + border-bottom-left-radius: $borderRadius; + } } .p-panel-footer { @@ -37,6 +40,8 @@ border: $panelFooterBorder; background: $panelFooterBg; color: $panelFooterTextColor; + border-bottom-right-radius: $borderRadius; + border-bottom-left-radius: $borderRadius; border-top: 0 none; }