Chromium Code Reviews| Index: chrome/browser/resources/options/options_page.css |
| diff --git a/chrome/browser/resources/options/options_page.css b/chrome/browser/resources/options/options_page.css |
| index e9bd02e04a0a40434fa8e45f8c4f083f3b1cd985..b5066e8dcf614353074b90cb4281fbf258e6ba4f 100644 |
| --- a/chrome/browser/resources/options/options_page.css |
| +++ b/chrome/browser/resources/options/options_page.css |
| @@ -325,10 +325,14 @@ section > div:only-of-type { |
| * are converted to the non-table style. |
| */ |
| section > div:only-of-type label { |
|
stuartmorgan
2010/12/18 00:49:38
Lets axe the whole 'div:only-of-type' part now too
James Hawkins
2010/12/18 00:54:41
I'm hesitant to remove this right now, because it
|
| - display: block; |
| margin: 5px 0; |
| } |
| +label.checkbox, |
| +label.radio { |
| + display: block |
| +} |
| + |
| .hidden { |
| display: none !important; |
| } |
| @@ -496,32 +500,16 @@ button { |
| * TODO(arv): Test the vertical position on Linux and CrOS as well. |
| */ |
| -/* |
| - * Webkit does not move the absolute positioned input element properly and |
| - * filed bug 48348 to track the problem. |
| - * https://bugs.webkit.org/show_bug.cgi?id=48348 |
| - * In the mean time, mark the outer label element 'relative' so that webkit |
| - * aligns the input element properly. |
| - */ |
| -label.checkbox, |
| -label.radio { |
| - position: relative; |
| -} |
| - |
| -label.checkbox > input, |
| -label.radio > input { |
| +label > input[type=checkbox], |
| +label > input[type=radio] { |
| margin-top: 1px; |
| - position: absolute; |
| } |
| -label.checkbox > span, |
| -label.radio > span, |
| .suboption { |
| -webkit-margin-start: 16px; |
| - display: block; |
| } |
| -html[os=mac] label.checkbox > input, |
| -html[os=mac] label.radio > input { |
| +html[os=mac] label > input[type=checkbox], |
| +html[os=mac] label > input[type=radio] { |
| margin-top: 2px; |
| } |