Open squidjam opened 7 months ago
A CSS style applied to the buttons when they are small makes it impossible to change the letter spacing when the button is set to a small size
<cds-button size="sm" class="test">test</cds-button>
cds-button.test {letter-spacing: 10px}
I should be able to use --letter-spacing to determine the letter spacing on the button regardless of the size it has.
--letter-spacing
Clarity project:
Clarity version:
Framework:
Framework version: N/A
Device:
Please go to: projects/core/src/button/button.element.scss and check lines 265-267.
projects/core/src/button/button.element.scss
:host([size='sm']) .private-host { --letter-spacing: 0.073em; }
I don't think they should be there.
Plink
Describe the bug
A CSS style applied to the buttons when they are small makes it impossible to change the letter spacing when the button is set to a small size
How to reproduce
Expected behavior
I should be able to use
--letter-spacing
to determine the letter spacing on the button regardless of the size it has.Versions
Clarity project:
Clarity version:
Framework:
Framework version: N/A
Device:
Additional notes
Please go to:
projects/core/src/button/button.element.scss
and check lines 265-267.I don't think they should be there.