use custom elements instead of adding css classes for selectors
This commit is contained in:
parent
742b97cb4b
commit
f402011c82
9 changed files with 38 additions and 34 deletions
|
@ -13,7 +13,7 @@ class Promo extends Component {
|
|||
|
||||
createElement() {
|
||||
return html`
|
||||
<div
|
||||
<send-promo
|
||||
class="w-full flex-none flex flex-row items-center content-center justify-center text-sm bg-grey-light leading-tight text-grey-darkest px-4 py-3"
|
||||
>
|
||||
<div class="flex items-center mx-auto">
|
||||
|
@ -31,7 +31,7 @@ class Promo extends Component {
|
|||
>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</send-promo>
|
||||
`;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue