From b0c5555561510cf1a5aea3fa758a73d3c98b1e72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Louren=C3=A7o?= Date: Mon, 13 Jan 2025 18:55:03 +0000 Subject: [PATCH] feat(tab-bar): make box shadow independent of expand mode (#30117) Issue number: internal --------- ## What is the current behavior? When the tab bar's expand mode is 'full' on the ionic theme, it does not have a box shadow to separate it from the rest of the page. ## What is the new behavior? - The tab bar on the ionic theme now has a box shadow independently of its expand mode. ## Does this introduce a breaking change? - [ ] Yes - [x] No ## Other information --- core/src/components/tab-bar/tab-bar.ionic.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/components/tab-bar/tab-bar.ionic.scss b/core/src/components/tab-bar/tab-bar.ionic.scss index 7dc0f3d0e7..759b8847d7 100644 --- a/core/src/components/tab-bar/tab-bar.ionic.scss +++ b/core/src/components/tab-bar/tab-bar.ionic.scss @@ -21,6 +21,8 @@ gap: globals.$ion-space-300; + box-shadow: #{globals.$ion-elevation-2}; + // TODO(ROU-10853): replace this value with a layer token z-index: 10; } @@ -54,8 +56,6 @@ width: fit-content; - box-shadow: #{globals.$ion-elevation-2}; - contain: content; }