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

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

Issue 1298583002: Fix printing distilled pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: 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 1aff8f86c0792e7238c9b4508842206c895c9a35..8891ac078ab5815c4e35a136ce521df4042b1508 100644
--- a/components/dom_distiller/core/css/distilledpage.css
+++ b/components/dom_distiller/core/css/distilledpage.css
@@ -5,6 +5,15 @@
/* Set the global 'box-sizing' state to 'border-box'.
* *::after and *::before used to select pseudo-elements not selectable by *. */
+@media print {
+ #closeReaderView {
+ display: none;
+ }
+ #feedbackContainer {
+ display: none;
+ }
+}
csaavedra 2015/08/25 14:32:13 There is already a @media print somewhere below in
wychen 2015/08/25 23:51:27 Done.
+
*,
*::after,
*::before {
@@ -77,7 +86,12 @@ th {
html {
font-size: 14px;
- height: 100%;
+}
+
+@media screen {
+ html {
+ height: 100%;
+ }
}
body {
@@ -351,7 +365,7 @@ pre {
white-space: pre-wrap;
}
-.hidden {
+body .hidden {
display: none;
}
@@ -366,18 +380,16 @@ pre {
}
#feedbackContainer {
- font-size: 14px;
- position: relative;
- z-index: 2;
csaavedra 2015/08/25 14:32:13 Is it somehow useful to leave this empty?
wychen 2015/08/25 23:51:27 Done.
}
.footerFeedback {
+ display: flex;
+ flex-flow: column;
+ font-size: 14px;
+ z-index: 2;
background-color: #4285F4;
- clear: both;
color: #fff;
- display: none;
height: 120px;
- margin-top: -120px;
width: 100%;
}

Powered by Google App Engine
This is Rietveld 408576698