-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tab): add
--calcite-tab-content-block-padding
to override buil…
…t-in block-padding (#8629) **Related Issue:** #8413 ## Summary Introduces a CSS custom property `--calcite-tab-content-block-padding` to align with other components that have built-in padding. Currently, the Tab component has a built-in `block-padding` that cannot be overridden in a supported way, leading to a bug with scrollbars when tabs are housed inside a panel. The introduction of the custom property allows for more flexibility in the component, as users can achieve their desired layout and padding by adding it to their slotted content. (#8139 (comment)) --------- Co-authored-by: JC Franco <jfranco@esri.com> Co-authored-by: Kitty Hurley <khurley@esri.com>
- Loading branch information
1 parent
ddda764
commit 7dae525
Showing
2 changed files
with
49 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters