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

Unified Diff: components/dom_distiller/core/css/distilledpage.css

Issue 1009703002: Changing font size with pinch gesture in Reader Mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove redundant code, use const in js, fix feedback font size Created 5 years, 8 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: components/dom_distiller/core/css/distilledpage.css
diff --git a/components/dom_distiller/core/css/distilledpage.css b/components/dom_distiller/core/css/distilledpage.css
index adfb68239598f3bff3097bb1e90775c33cc62bf0..bd1ffc46d2540fa6f9dd88667b4f505ecb98c156 100644
--- a/components/dom_distiller/core/css/distilledpage.css
+++ b/components/dom_distiller/core/css/distilledpage.css
@@ -73,9 +73,11 @@ th {
/* Base typography. */
-body,
html {
font-size: 14px;
+}
+
+body {
height: 100%;
line-height: 1.4;
text-rendering: optimizeLegibility;
@@ -151,11 +153,11 @@ h6 {
/* Margins for Show Original link. */
#showOriginal {
- margin: auto 1.296rem 1.296rem 1.296rem;
+ margin: auto 1.296rem 1.296rem 5%;
}
#content {
- margin: 0.2rem;
+ margin: 0.2rem 2.2%;
}
/* Main margins. */
@@ -325,13 +327,14 @@ pre {
}
.feedbackContent {
+ font-size: 14px;
background-color: #4285F4;
clear: both;
padding: 14px;
}
#feedbackQuestion {
- font-size: 20px;
+ font-size: 1.4em;
font-weight: 700;
text-align: center;
width: 100%;

Powered by Google App Engine
This is Rietveld 408576698