Merge "Put <style></style> within <template>"

This commit is contained in:
Ben Rohlfs
2019-04-12 06:57:53 +00:00
committed by Gerrit Code Review
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>