Skip to content

Commit

Permalink
fix(theme): keep item icon ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
francoischalifour committed Feb 24, 2021
1 parent fc9642b commit b77921e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/autocomplete-theme-classic/src/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,10 @@ body {
margin: 0 var(--aa-spacing-half) 0 2px;
}
img {
height: calc(var(--aa-icon-size) + var(--aa-spacing) - 8px);
width: calc(var(--aa-icon-size) + var(--aa-spacing) - 8px);
height: auto;
max-height: calc(var(--aa-icon-size) + var(--aa-spacing) - 8px);
max-width: calc(var(--aa-icon-size) + var(--aa-spacing) - 8px);
width: auto;
}
svg {
height: var(--aa-icon-size);
Expand Down

0 comments on commit b77921e

Please sign in to comment.