Commit 7c959e62 authored by dschuyler's avatar dschuyler Committed by Commit bot

[MD settings] layout sub-headers in display settings

This CL is a follow-up to CL 2273083002 where the <h2> sub-labels were
updated to the current mocks. The displays sub-page (chromeos only) also
needed to be updated.

BUG=638461
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2283933002
Cr-Commit-Position: refs/heads/master@{#414855}
parent 2bff664c
...@@ -13,13 +13,6 @@ ...@@ -13,13 +13,6 @@
<dom-module id="settings-display"> <dom-module id="settings-display">
<template> <template>
<style include="settings-shared"> <style include="settings-shared">
.display-section {
align-self: flex-start;
font-size: 100%;
font-weight: 500;
margin: 10px 0;
}
.settings-box.embedded { .settings-box.embedded {
align-self: stretch; align-self: stretch;
margin-left: 20px; margin-left: 20px;
...@@ -47,14 +40,14 @@ ...@@ -47,14 +40,14 @@
} }
</style> </style>
<div class="settings-box first layout vertical self-stretch"> <div class="settings-box first layout vertical self-stretch">
<div class="display-section">$i18n{displayArrangement}</div> <h2>$i18n{displayArrangement}</h2>
<display-layout id="displayLayout" <display-layout id="displayLayout"
selected-display="[[selectedDisplay]]" selected-display="[[selectedDisplay]]"
on-select-display="onSelectDisplay_"> on-select-display="onSelectDisplay_">
</display-layout> </display-layout>
</div> </div>
<div class="settings-box layout vertical"> <div class="settings-box layout vertical first">
<div class="display-section">[[selectedDisplay.name]]</div> <h2>[[selectedDisplay.name]]</h2>
<div class="settings-box embedded first"> <div class="settings-box embedded first">
<paper-checkbox class="flex" checked="[[isMirrored_(displays)]]" <paper-checkbox class="flex" checked="[[isMirrored_(displays)]]"
hidden$="[[!showMirror_(displays)]]" on-tap="onMirroredTap_"> hidden$="[[!showMirror_(displays)]]" on-tap="onMirroredTap_">
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
/* Use <h2> as the "sub-header" mentioned in the UX design docs. */ /* Use <h2> as the "sub-header" mentioned in the UX design docs. */
h2 { h2 {
align-items: center; align-items: center;
align-self: flex-start;
color: var(--paper-grey-600); color: var(--paper-grey-600);
display: flex; display: flex;
font-size: inherit; font-size: inherit;
......
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