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

Commit

Permalink
Merge pull request #60 from PolymerElements/style-inside-template
Browse files Browse the repository at this point in the history
style tag needs to live inside the template
  • Loading branch information
notwaldorf authored Jul 14, 2016
2 parents b125453 + 027b6d3 commit b31bae5
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 b31bae5

Please sign in to comment.