Skip to content

Commit

Permalink
use custom var for line-height
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgulia1 committed Feb 28, 2022
1 parent b087ff8 commit f7f6c7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion theme/themes/eea/elements/input.overrides
Expand Up @@ -70,7 +70,7 @@ textarea {
color: @white;
font-size: 18px;
opacity: 1;
line-height: 0.5;
line-height: @lineHeightSearchIcon
}
}

Expand Down
1 change: 1 addition & 0 deletions theme/themes/eea/elements/input.variables
Expand Up @@ -15,6 +15,7 @@

@lineHeight: @inputLineHeight;
@lineHeightOffset: ((@lineHeight - 1em) / 2);
@lineHeightSearchIcon: @inputLineHeight - 0.5;

@padding: (@verticalPadding - @lineHeightOffset) @horizontalPadding;

Expand Down

0 comments on commit f7f6c7e

Please sign in to comment.