Showcase multiline set

This commit is contained in:
Ludeeus 2021-10-26 11:53:35 +00:00
parent 322d01196f
commit 8c28fa747d
2 changed files with 16 additions and 1 deletions

View File

@ -23,6 +23,21 @@ const chips: HaChipSetItem[] = [
trailingIcon: mdiClose,
label: "Demo chip",
},
{
label: "Automation",
},
{
label: "Blueprint",
},
{
label: "Script",
},
{
label: "Scene",
},
{
label: "Person",
},
];
@customElement("demo-ha-chip")

View File

@ -63,7 +63,7 @@ export class HaChipSet extends LitElement {
return css`
${unsafeCSS(chipStyles)}
.mdc-chip-set > * {
margin: 0 4px;
margin: 4px;
}
`;
}