Put <style></style> within <template>

This is in preperation for Polymer 2.x.

Change-Id: I7b8b3ce20bf3c6beb6bde9193071904af3262f02
This commit is contained in:
Paladox none
2019-04-11 20:55:27 +00:00
parent 450c085cc8
commit 78e47e9852
2 changed files with 8 additions and 8 deletions

View File

@@ -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>

View File

@@ -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>