[Modal] Add --calcite-modal-content-padding
CSS Variable
#5957
Labels
4 - verified
Issues that have been released and confirmed resolved.
Calcite (design)
Issues logged by Calcite designers.
enhancement
Issues tied to a new feature or request.
Milestone
Description
We recently deprecated the
noPadding
property on Modal: https://developers.arcgis.com/calcite-design-system/components/modal/#component-api-properties-noPaddingThe deprecation message states to use
--calcite-modal-padding
- which we also deprecated (correctly, since this affected padding in every element of the Modal).We need to introduce a
--calcite-modal-content-padding
(or-spacing
, whatever the pattern is for other instances like this, for instance incalcite-block
), that lets folks re-create thenoPadding
functionality (or otherwise affect this padding), that is scoped just to the content slot.Acceptance Criteria
A
--calcite-modal-content-padding/spacing
CSS Variable is added tocalcite-modal
that correctly lets folks migrate away from the deprecatednoPadding
property.Relevant Info
No response
Which Component
Modal
Example Use Case
No response
Esri team
Calcite (design)
The text was updated successfully, but these errors were encountered: