(react) max width for multi select pills

In order to prevent a pill with a long text to stack below the actions
div we decided to introduce the concept of max-width for pills.
This commit is contained in:
Nathan Vasse
2023-06-15 17:49:49 +02:00
committed by NathanVss
parent 29b58ed1a6
commit 34d2fe0af3
6 changed files with 14 additions and 4 deletions

View File

@@ -22,4 +22,5 @@ export const tokens = (defaults: DefaultTokens) => ({
"label-color--focus": defaults.theme.colors["primary-600"],
"multi-pill-background-color": defaults.theme.colors["greyscale-200"],
"multi-pill-border-radius": "2px",
"multi-pill-max-width": "68%",
});