Commit f2ffd976 authored by Addy Osmani's avatar Addy Osmani

Polymer: fix for todo-app positioning.

parent 9e6b16c9
...@@ -185,6 +185,10 @@ hr { ...@@ -185,6 +185,10 @@ hr {
transition-duration: 500ms; transition-duration: 500ms;
} }
body /deep/ #todoapp {
width: 550px;
margin: 0 auto;
}
/* IE doesn't support the hidden attribute */ /* IE doesn't support the hidden attribute */
[hidden] { [hidden] {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>Polymer • TodoMVC</title> <title>Polymer • TodoMVC</title>
<link rel="stylesheet" href="app/app.css"> <link rel="stylesheet" href="app/app.css" shim-shadowdom>
<script src="bower_components/platform/platform.js"></script> <script src="bower_components/platform/platform.js"></script>
<link rel="import" href="bower_components/core-localstorage/core-localstorage.html"> <link rel="import" href="bower_components/core-localstorage/core-localstorage.html">
<link rel="import" href="elements/td-model.html"> <link rel="import" href="elements/td-model.html">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment