[block-section] Make gap around header uniform when outline offset is applied. #11175
Open
2 of 6 tasks
Labels
0 - new
New issues that need assignment.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
Calcite (dev)
Issues logged by Calcite developers.
calcite-components
Issues specific to the @esri/calcite-components package.
design
Issues that need design consultation prior to development.
impact - p3 - not time sensitive
User set priority impact status of p3 - not time sensitive
needs triage
Planning workflow - pending design/dev review.
Check existing issues
Actual Behavior
When
--calcite-block-section-background-color token
is applied, it looks like the background doesn't accompany the same area as the focus.When the offset is removed, this is the result:
The way it offsets, it hugs vertically, but not horizontally.
We need to address how the offset hugs the heading.
I think the offset needs to stay but designed so that the white gap is uniform around. This way, it doesn't look like a mistake.
Expected Behavior
Outline is offset uniformly on the heading.
Reproduction Sample
https://codepen.io/elijbet/pen/mybBWqJ
Reproduction Steps
Click on the heading and observe the outline offset.
Reproduction Version
2.13.2
Relevant Info
No response
Regression?
No response
Priority impact
impact - p3 - not time sensitive
Impact
No response
Calcite package
Esri team
Calcite (dev)
The text was updated successfully, but these errors were encountered: