From 05d738f5df2fa0aa763d2461b46a1ac93dd371c7 Mon Sep 17 00:00:00 2001 From: lindsaym-fa Date: Tue, 3 Jun 2025 11:43:46 -0400 Subject: [PATCH] change default `--tag-max-size` --- packages/webawesome/src/components/select/select.css | 2 +- packages/webawesome/src/components/select/select.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/webawesome/src/components/select/select.css b/packages/webawesome/src/components/select/select.css index 5c25cda13..a01aace87 100644 --- a/packages/webawesome/src/components/select/select.css +++ b/packages/webawesome/src/components/select/select.css @@ -6,7 +6,7 @@ label:has(select), --outlined-text-color: var(--wa-form-control-value-color); --border-width: var(--wa-form-control-border-width); --box-shadow: initial; - --tag-max-size: 8ch; + --tag-max-size: 10ch; } /* Add ellipses to multi select options */ diff --git a/packages/webawesome/src/components/select/select.ts b/packages/webawesome/src/components/select/select.ts index 5e2f832b7..c853db514 100644 --- a/packages/webawesome/src/components/select/select.ts +++ b/packages/webawesome/src/components/select/select.ts @@ -79,7 +79,7 @@ import styles from './select.css'; * @cssproperty --border-color - The border color of the select's combobox. * @cssproperty --border-width - The width of the select's borders, including the listbox. * @cssproperty --box-shadow - The shadow effects around the edges of the select's combobox. - * @cssproperty [--tag-max-size=8ch] - When using `multiple`, the max size of tags before their content is truncated. + * @cssproperty [--tag-max-size=10ch] - When using `multiple`, the max size of tags before their content is truncated. * * @cssstate blank - The select is empty. */