Skip to content

Commit

Permalink
fix(create-vite): fix h1 css selector in lit templates (#12951)
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldeandradelopes committed Apr 22, 2023
1 parent f781fc6 commit 21c61cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/create-vite/template-lit-ts/src/my-element.ts
Expand Up @@ -76,7 +76,7 @@ export class MyElement extends LitElement {
color: #888;
}
h1 {
::slotted(h1) {
font-size: 3.2em;
line-height: 1.1;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/create-vite/template-lit/src/my-element.js
Expand Up @@ -92,7 +92,7 @@ export class MyElement extends LitElement {
color: #535bf2;
}
h1 {
::slotted(h1) {
font-size: 3.2em;
line-height: 1.1;
}
Expand Down

0 comments on commit 21c61cb

Please sign in to comment.