Open tom12993 opened 1 week ago
Can you describe a bit more about your use case for this?
@alisonailea I just want the footer font-size, including the character count, to be smaller than the text-area body.
To achieve this same effect, we're currently setting the scale of calcite-text-area to s
so the footer font-size can be 12px. And then we're using shadowRoot to modify the font-size of the body to 14px.
const textArea = document.querySelector('calcite-text-area')
if (textArea?.shadowRoot) {
textArea.shadowRoot.innerHTML += `<style>textarea {font-size: var(--calcite-font-size--1) !important;}</style>`
}
Check existing issues
Description
I want to decouple the font-size of calcite-text-area's body and footer. Example: 14px for text-area body, and 12px for the footer text
Acceptance Criteria
Add
--calcite-text-area-footer-font-size
which will affect just the footer's font-size.Relevant Info
No response
Which Component
calcite-text-area
Example Use Case
Priority impact
impact - p2 - want for an upcoming milestone
Calcite package
Esri team
ArcGIS Monitor