Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
style tag needs to live inside the template
Browse files Browse the repository at this point in the history
  • Loading branch information
notwaldorf committed Jul 14, 2016
1 parent b125453 commit 027b6d3
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 20 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"url": "git://github.com/PolymerElements/iron-fit-behavior.git"
},
"dependencies": {
"polymer": "Polymer/polymer#^1.0.0"
"polymer": "Polymer/polymer#^1.1.0"
},
"devDependencies": {
"iron-component-page": "PolymerElements/iron-component-page#^1.0.0",
Expand Down
17 changes: 8 additions & 9 deletions demo/simple-fit.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,15 @@
<link rel="import" href="../../paper-styles/color.html">

<dom-module id="simple-fit">

<style>
:host {
background-color: var(--paper-light-blue-500);
color: white;
text-align: center;
}
</style>

<template>
<style>
:host {
background-color: var(--paper-light-blue-500);
color: white;
text-align: center;
}
</style>

<content></content>
</template>

Expand Down
19 changes: 9 additions & 10 deletions test/test-fit.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,16 @@
<link rel="import" href="../iron-fit-behavior.html">

<dom-module id="test-fit">

<style>
:host {
display: block;
background: black;
color: white;
padding: 8px;
}
</style>

<template>
<style>
:host {
display: block;
background: black;
color: white;
padding: 8px;
}
</style>

<content></content>
</template>

Expand Down

0 comments on commit 027b6d3

Please sign in to comment.