mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-10 01:47:46 +00:00
Showcase multiline set
This commit is contained in:
parent
322d01196f
commit
8c28fa747d
@ -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")
|
||||
|
@ -63,7 +63,7 @@ export class HaChipSet extends LitElement {
|
||||
return css`
|
||||
${unsafeCSS(chipStyles)}
|
||||
.mdc-chip-set > * {
|
||||
margin: 0 4px;
|
||||
margin: 4px;
|
||||
}
|
||||
`;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user