💄(react) make multi select height homogeneous

Some discussion appeared about the fact the multi select was changing
height when pill were selected, making this input having a bigger
height than others making it looks weird in a form comparing to the
others. Modifying the padding and font size make the input keep the
same height.

See #114
This commit is contained in:
Nathan Vasse
2023-09-28 12:20:03 +02:00
committed by NathanVss
parent a1e8f46368
commit a46d28f00a
6 changed files with 12 additions and 4 deletions

View File

@@ -24,4 +24,5 @@ export const tokens = (defaults: DefaultTokens) => ({
"multi-pill-background-color": defaults.theme.colors["greyscale-200"],
"multi-pill-border-radius": "2px",
"multi-pill-max-width": "68%",
"multi-pill-font-size": defaults.theme.font.sizes.m,
});