diff --git a/src/autocomplete/chip.css.ts b/src/autocomplete/chip.css.ts index 04a1e3d8..92b38c39 100644 --- a/src/autocomplete/chip.css.ts +++ b/src/autocomplete/chip.css.ts @@ -13,6 +13,7 @@ export default css` min-width: 40px; padding: 0 4px 0 8px; gap: 4px; + transform: translateY(var(--cosmoz-autocomplete-chip-translate-y)); } .content { color: var(--cosmoz-autocomplete-chip-color, #424242); diff --git a/stories/cosmoz-autocomplete.stories.js b/stories/cosmoz-autocomplete.stories.js index c37fb120..b30ad702 100644 --- a/stories/cosmoz-autocomplete.stories.js +++ b/stories/cosmoz-autocomplete.stories.js @@ -104,3 +104,29 @@ export const wrap = () => html` ${css} wrap style="max-width: 170px" >`; + +export const contour = () => html` + `;