refactor: prefer class directive over class attribute (#1318)

This commit is contained in:
metonym 2022-05-29 08:16:27 -07:00 committed by GitHub
commit 0801e1d078
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 34 additions and 18 deletions

View file

@ -463,7 +463,7 @@
/>
{/if}
{#if !filterable}
<span class="bx--list-box__label">{label}</span>
<span class:bx--list-box__label="{true}">{label}</span>
<ListBoxMenuIcon open="{open}" translateWithId="{translateWithId}" />
{/if}
</ListBoxField>