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

Unified Diff: chrome/browser/resources/shared/css/overlay.css

Issue 9701066: Add bottom margin to overlay page h1 instead of top padding on content-area. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use margin instead of padding to allow margin collapsing with content. Created 8 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/shared/css/overlay.css
diff --git a/chrome/browser/resources/shared/css/overlay.css b/chrome/browser/resources/shared/css/overlay.css
index 83acc67bf747e46fb06e6e88e4c762e2097ade64..9f7a3eb0dbfea691ce1b89c42488d5291b479d55 100644
--- a/chrome/browser/resources/shared/css/overlay.css
+++ b/chrome/browser/resources/shared/css/overlay.css
@@ -82,15 +82,14 @@ html[dir='rtl'] .overlay .page > .close-button {
/* 120% of the body's font-size of 84% is 16px. This will keep the relative
* size between the body and these titles consistent. */
font-size: 120%;
- margin: 0;
- padding: 14px 17px 0;
+ margin: 14px 17px 14px;
text-shadow: white 0 1px 2px;
}
.overlay .page .content-area {
-webkit-box-flex: 1;
overflow: auto;
- padding: 14px 17px 6px;
+ padding: 6px 17px 6px;
}
.overlay .page .action-area {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698