Index: trunk/extensions/StyleGuideDemo/modules/ext.styleguidedemo/ext.styleguidedemo.css |
— | — | @@ -15,19 +15,20 @@ |
16 | 16 | |
17 | 17 | .mw-label { |
18 | 18 | display: block; |
| 19 | + position: relative; |
19 | 20 | } |
20 | 21 | |
| 22 | +.mw-label label { |
| 23 | + margin: 0px 0px 0px 16px; |
| 24 | + font-weight: bold; |
| 25 | +} |
| 26 | + |
21 | 27 | .mw-label .mw-help-field-hint { |
22 | | - margin-bottom: -15px; |
| 28 | + position: absolute; top: 2px; left: 0px; |
23 | 29 | height: 12px; |
24 | 30 | width: 12px; |
25 | 31 | } |
26 | 32 | |
27 | | -.mw-label label { |
28 | | - margin: 0px 0px 0px 16px; |
29 | | - font-weight: bold; |
30 | | -} |
31 | | - |
32 | 33 | .mw-htmlform-tip { |
33 | 34 | margin: 0px 0px 0px 30px; |
34 | 35 | font-size: 10px; |
Index: trunk/extensions/StyleGuideDemo/modules/ext.styleguidedemo/ext.styleguidedemo.js |
— | — | @@ -8,7 +8,7 @@ |
9 | 9 | .hide() |
10 | 10 | .closest( '.mw-help-field-container' ) |
11 | 11 | .find( '.mw-help-field-hint' ) |
12 | | - .show() |
| 12 | + .css( 'display', 'block' ) // <span>, so show() is not enough |
13 | 13 | .click( function() { |
14 | 14 | $(this) |
15 | 15 | .closest( '.mw-help-field-container' ) |