Skip to content

Commit

Permalink
Web Comp. Example Page, Fix Class Attribute
Browse files Browse the repository at this point in the history
Styles are applied to the element when the attribute is `class`, not `className`.
  • Loading branch information
wesleyboar committed Mar 13, 2022
1 parent 9ff7ee1 commit 2daf62c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cli/src/frameworks/web-components/js/Page.js
Expand Up @@ -43,8 +43,8 @@ export const Page = ({ user, onLogin, onLogout, onCreateAccount }) => html`
<a href="https://storybook.js.org/docs" target="_blank" rel="noopener noreferrer"> docs </a>
.
</p>
<div className="tip-wrapper">
<span className="tip">Tip</span> Adjust the width of the canvas with the
<div class="tip-wrapper">
<span class="tip">Tip</span> Adjust the width of the canvas with the
<svg width="10" height="10" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fillRule="evenodd">
<path
Expand Down

0 comments on commit 2daf62c

Please sign in to comment.