Commit 8fb3321e authored by flackr@chromium.org's avatar flackr@chromium.org

Add bottom padding to overlay page h1 instead of top padding on content-area.

This makes the scrollbar align where we would expect it to, after the close button's target.

BUG=118070
TEST=None

Review URL: https://chromiumcodereview.appspot.com/9701066

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126980 0039d316-1c4b-4281-b951-d872f2087c98
parent 018f83fb
...@@ -82,15 +82,14 @@ html[dir='rtl'] .overlay .page > .close-button { ...@@ -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 /* 120% of the body's font-size of 84% is 16px. This will keep the relative
* size between the body and these titles consistent. */ * size between the body and these titles consistent. */
font-size: 120%; font-size: 120%;
margin: 0; margin: 14px 17px 14px;
padding: 14px 17px 0;
text-shadow: white 0 1px 2px; text-shadow: white 0 1px 2px;
} }
.overlay .page .content-area { .overlay .page .content-area {
-webkit-box-flex: 1; -webkit-box-flex: 1;
overflow: auto; overflow: auto;
padding: 14px 17px 6px; padding: 6px 17px 6px;
} }
.overlay .page .action-area { .overlay .page .action-area {
......
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