capsize icon indicating copy to clipboard operation
capsize copied to clipboard

`text-indent` not applied to Capsize elements

Open adamduncan opened this issue 2 years ago • 1 comments

This probably falls into the same bucket as the "overflow/truncation" gotchas detailed in the FAQs. I was aware of the some of these layout-related constraints, but this caught me off guard today. Feels like something text-related that should've been fair game.

Screenshot 2022-02-22 at 11 56 41

Like with truncation, this can be worked around by ensuring that the Capsize is applied to parent element and text-indent applied to its own separate child element.

Could be helpful to document?

adamduncan avatar Feb 22 '22 11:02 adamduncan

Yeah any of these category of rules would have to be nested internally it seems. Will certainly consider how to incorporate this kind of advice in future documentation uplifts.

Thanks for sharing.

michaeltaranto avatar Feb 24 '22 00:02 michaeltaranto