cds-password-label font sizes #3193
              
                Unanswered
              
          
                  
                    
                      jason-levine-ibm-1
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
What's the recommended way to change the font size for a label and warnText of a cds-password-label? I need the font size for the label and warn text to be 14px rather than 12. I can change the font size easily enough for the label text, but not for warnText:
<cds-password-label helperText="helperText" [invalid]=false invalidText="invalidText" [warn]=true
[disabled]=false [fluid]=false [skeleton]=false warnText="warnText" class="some-class" >
<input cdsPassword type="password" [size]="'lg'" [invalid]=false [warn]=true
placeholder="placeholder" [autocomplete] [readonly]=false />
.some-class {
font-size: 14px;
}
Beta Was this translation helpful? Give feedback.
All reactions