Put <style></style> within <template>
This is in preperation for Polymer 2.x. Change-Id: I7b8b3ce20bf3c6beb6bde9193071904af3262f02
This commit is contained in:
@@ -18,13 +18,13 @@ limitations under the License.
|
||||
<link rel="import" href="../../../bower_components/polymer/polymer.html">
|
||||
|
||||
<dom-module id="gr-settings-item">
|
||||
<style>
|
||||
:host {
|
||||
display: block;
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
</style>
|
||||
<template>
|
||||
<style>
|
||||
:host {
|
||||
display: block;
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
</style>
|
||||
<h2 id="[[anchor]]">[[title]]</h2>
|
||||
<slot></slot>
|
||||
</template>
|
||||
|
||||
@@ -19,9 +19,9 @@ limitations under the License.
|
||||
<link rel="import" href="../../../styles/gr-page-nav-styles.html">
|
||||
|
||||
<dom-module id="gr-settings-menu-item">
|
||||
<style include="shared-styles"></style>
|
||||
<style include="gr-page-nav-styles"></style>
|
||||
<template>
|
||||
<style include="shared-styles"></style>
|
||||
<style include="gr-page-nav-styles"></style>
|
||||
<div class="navStyles">
|
||||
<li><a href$="[[href]]">[[title]]</a></li>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user