Skip to content

Commit

Permalink
refactor: move styles into render
Browse files Browse the repository at this point in the history
  • Loading branch information
TwoPlusTwoOne committed Nov 20, 2019
1 parent 9d940a6 commit 34261ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions anypoint-radio-button.js
Expand Up @@ -56,7 +56,7 @@ import '@anypoint-web-components/anypoint-styles/colors.js';
* @memberof AnypointComponents
*/
class AnypointRadioButton extends CheckedElementMixin(LitElement) {
static get styles() {
get styles() {
return css`
:host {
display: inline-flex;
Expand Down Expand Up @@ -196,7 +196,7 @@ class AnypointRadioButton extends CheckedElementMixin(LitElement) {
}

render() {
return html`
return html`<style>${this.styles}</style>
<div class="radio-container">
<div class="state-container">
<div id="offRadio"></div>
Expand Down

0 comments on commit 34261ff

Please sign in to comment.