Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(980)

Unified Diff: chrome/browser/resources/settings/settings_shared_css.html

Issue 2273083002: [MD settings] using h2 for sub-headers consistently. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review changes Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/settings_shared_css.html
diff --git a/chrome/browser/resources/settings/settings_shared_css.html b/chrome/browser/resources/settings/settings_shared_css.html
index 0d55ef3788c67593b0055c1f6cf210aaf209363c..3cb7fb847908be11aeee24446be49829b74fe538 100644
--- a/chrome/browser/resources/settings/settings_shared_css.html
+++ b/chrome/browser/resources/settings/settings_shared_css.html
@@ -5,13 +5,16 @@
<dom-module id="settings-shared">
<template>
<style include="cr-shared-style">
+ /* Use <h2> as the "sub-header" mentioned in the UX design docs. */
h2 {
align-items: center;
+ color: var(--paper-grey-600);
display: flex;
- font-size: 100%;
+ font-size: inherit;
font-weight: 500;
margin: 0;
- min-height: var(--settings-row-min-height);
+ padding-top: 24px;
+ padding-bottom: 12px;
}
iron-icon[icon='cr:check'],

Powered by Google App Engine
This is Rietveld 408576698