You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using this as an inline block, the extra padding escapes the bounding box of the element and overlaps text around it (see screen shot). I believe this comes down to a span a few parents up containing data-as="span" data-ui="Card" with minified classes setting a fixed height height: calc(1em -1px). Removing that lets this have the space it needs. I'm unsure if that comes from this component or Sanity's built-in handling for inline blocks. I've attached a screenshot of the DOM structure with the relevant item highlighted if that helps find the correct spot to fix this.
Thanks!
The text was updated successfully, but these errors were encountered:
When using this as an inline block, the extra padding escapes the bounding box of the element and overlaps text around it (see screen shot). I believe this comes down to a
span
a few parents up containingdata-as="span" data-ui="Card"
with minified classes setting a fixed heightheight: calc(1em -1px)
. Removing that lets this have the space it needs. I'm unsure if that comes from this component or Sanity's built-in handling for inline blocks. I've attached a screenshot of the DOM structure with the relevant item highlighted if that helps find the correct spot to fix this.Thanks!
The text was updated successfully, but these errors were encountered: