Closed Jinnie closed 3 years ago
Research notes:
[cds-text*='body']
definition, from this property:
--cds-global-typography-body-line-height: 1.2rem;
CC @mathisscott, I'd appreciate some comment in which direction we should look for a solution. The body line-height looks a bit suspicious to me, but I have no knowledge about the reasoning behind it.
@Jinnie
You should look into disabling the line height erasers when cds-text
is set to truncate
Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed issues after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary.
Describe the bug
The "truncate" transform cut too much. It should only cut horizontal overflow and add ellipsis.
How to reproduce
Steps to reproduce the behavior:
Expected behavior
Letter descenders are intact
Versions
Clarity project:
Clarity version: