Skip to content

Commit e52e215

Browse files
author
Jan Miksovsky
committed
Upgrade to Polymer 1.1.
1 parent 7dd72fe commit e52e215

2 files changed

Lines changed: 22 additions & 19 deletions

File tree

basic-stack.html

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,32 @@
1010
<link rel="import" href="../basic-shared/basic-shared.html">
1111

1212
<dom-module id="basic-stack">
13-
<style>
14-
:host {
15-
box-sizing: border-box;
16-
display: inline-block;
17-
position: relative;
18-
}
13+
<template>
1914

20-
#stackContainer {
21-
display: block;
22-
left: 0;
23-
position: relative;
24-
top: 0;
25-
width: 100%;
26-
}
15+
<style>
16+
:host {
17+
box-sizing: border-box;
18+
display: inline-block;
19+
position: relative;
20+
}
21+
22+
#stackContainer {
23+
display: block;
24+
left: 0;
25+
position: relative;
26+
top: 0;
27+
width: 100%;
28+
}
29+
30+
#stackContainer ::content > * {
31+
position: absolute;
32+
}
33+
</style>
2734

28-
#stackContainer ::content > * {
29-
position: absolute;
30-
}
31-
</style>
32-
<template>
3335
<basic-children-content id="stackContainer">
3436
<content id="content"></content>
3537
</basic-children-content>
38+
3639
</template>
3740
</dom-module>
3841

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"basic-aspect": "basic-web-components/basic-aspect#master",
99
"basic-children-content": "basic-web-components/basic-children-content#master",
1010
"basic-shared": "basic-web-components/basic-shared#master",
11-
"polymer": "Polymer/polymer#^1.0.0"
11+
"polymer": "Polymer/polymer#^1.1"
1212
},
1313
"devDependencies": {
1414
"basic-framed-content": "basic-web-components/basic-framed-content#master",

0 commit comments

Comments
 (0)