Showing
2 changed files
with
9 additions
and
5 deletions
@@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
13 | {{# questionContents}} | 13 | {{# questionContents}} |
14 | <dd class="radio-option" data-index="{{@index}}"> | 14 | <dd class="radio-option" data-index="{{@index}}"> |
15 | <span class="iconfont"></span> | 15 | <span class="iconfont"></span> |
16 | - {{{option}}} | 16 | + <div class="option-box">{{{option}}}</div> |
17 | {{#if addon}} | 17 | {{#if addon}} |
18 | <input type="text"> | 18 | <input type="text"> |
19 | {{/if}} | 19 | {{/if}} |
@@ -25,7 +25,7 @@ | @@ -25,7 +25,7 @@ | ||
25 | {{# questionContents}} | 25 | {{# questionContents}} |
26 | <dd class="check-option"> | 26 | <dd class="check-option"> |
27 | <span class="iconfont"></span> | 27 | <span class="iconfont"></span> |
28 | - {{{option}}} | 28 | + <div class="option-box">{{{option}}}</div> |
29 | {{#if addon}} | 29 | {{#if addon}} |
30 | <input type="text"> | 30 | <input type="text"> |
31 | {{/if}} | 31 | {{/if}} |
@@ -78,8 +78,12 @@ body { | @@ -78,8 +78,12 @@ body { | ||
78 | font-size: 18px; | 78 | font-size: 18px; |
79 | text-align: center; | 79 | text-align: center; |
80 | color: #fff; | 80 | color: #fff; |
81 | - position: relative; | ||
82 | - top: -1px; | 81 | + position: absolute; |
82 | + margin-top: 13px; | ||
83 | + } | ||
84 | + | ||
85 | + .option-box { | ||
86 | + padding-left: 36px; | ||
83 | } | 87 | } |
84 | 88 | ||
85 | .radio-option .iconfont { | 89 | .radio-option .iconfont { |
@@ -87,7 +91,7 @@ body { | @@ -87,7 +91,7 @@ body { | ||
87 | overflow: hidden; | 91 | overflow: hidden; |
88 | } | 92 | } |
89 | 93 | ||
90 | - .on > .iconfont { | 94 | + .on .iconfont { |
91 | background-color: #444; | 95 | background-color: #444; |
92 | } | 96 | } |
93 | } | 97 | } |
-
Please register or login to post a comment