Skip to content

Commit

Permalink
fix(chip): add css vars for margin and padding
Browse files Browse the repository at this point in the history
  • Loading branch information
micaelagoffe committed May 21, 2024
1 parent 305eaa0 commit df808c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/autocomplete/chip.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ export default css`
:host {
border-radius: var(--cosmoz-autocomplete-chip-border-radius, 500px);
background: var(--cosmoz-autocomplete-chip-bg-color, #cbcfdb);
margin: 0px 0 2px 0;
margin: var(--cosmoz-autocomplete-chip-margin, 0px 0 2px 0);
display: flex;
flex-direction: row;
align-items: center;
flex: 0.0001 1 fit-content;
max-width: 18ch;
min-width: 40px;
padding: 0 4px 0 8px;
padding: var(--cosmoz-autocomplete-chip-padding, 0 4px 0 8px);
gap: 4px;
cursor: pointer;
transform: translateY(var(--cosmoz-autocomplete-chip-translate-y, 0));
Expand Down

0 comments on commit df808c5

Please sign in to comment.