Skip to content

Commit

Permalink
fix(field): fix styles for ly-icon
Browse files Browse the repository at this point in the history
Apply styles only to label and placeholder
  • Loading branch information
Enlcxx committed May 3, 2020
1 parent 57ca626 commit 5b3e651
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/lib/field/field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,10 @@ export const STYLES = (theme: ThemeVariables & LyFieldVariables, ref: ThemeRef)
font-size: .75em
margin-top: .25em
}
ly-icon {
font-size: inherit
${classes.label}, ${classes.placeholder} {
ly-icon {
font-size: inherit
}
}
{
...${
Expand Down

0 comments on commit 5b3e651

Please sign in to comment.