Commit 45a13b5e authored by flackr@chromium.org's avatar flackr@chromium.org

Move section CSS to uber_shared to share with other uber pages.

The definition for the header on the version page was intended to match the section width defined in options_page.css. Help uses sections for the version information which needs to be restricted to the width of the header to avoid overflow.

BUG=122973
TEST=Open help page, expand information and scroll down. Version text is restricted to width of header and doesn't overflow.


Review URL: http://codereview.chromium.org/10113001

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132590 0039d316-1c4b-4281-b951-d872f2087c98
parent c286585c
...@@ -152,25 +152,6 @@ div.disabled { ...@@ -152,25 +152,6 @@ div.disabled {
min-height: 192px; min-height: 192px;
} }
section {
-webkit-padding-start: 18px;
margin-bottom: 24px;
margin-top: 8px;
max-width: 600px;
}
section:last-of-type {
margin-bottom: 0;
}
section > h3 {
-webkit-margin-start: -18px;
}
section > div:only-of-type {
-webkit-box-flex: 1;
}
.option { .option {
margin-top: 0; margin-top: 0;
} }
......
...@@ -95,3 +95,24 @@ body.uber-frame footer { ...@@ -95,3 +95,24 @@ body.uber-frame footer {
min-width: 600px; min-width: 600px;
padding: 8px 0; padding: 8px 0;
} }
/* Sections are used in options pages, help page and history page. This defines
* the section metrics to match the header metrics above. */
body.uber-frame section {
-webkit-padding-start: 18px;
margin-bottom: 24px;
margin-top: 8px;
max-width: 600px;
}
body.uber-frame section:last-of-type {
margin-bottom: 0;
}
body.uber-frame section > h3 {
-webkit-margin-start: -18px;
}
body.uber-frame section > div:only-of-type {
-webkit-box-flex: 1;
}
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