Showing
1 changed file
with
7 additions
and
11 deletions
@@ -7,13 +7,12 @@ | @@ -7,13 +7,12 @@ | ||
7 | .question { | 7 | .question { |
8 | font-size: 24px; | 8 | font-size: 24px; |
9 | color: $mainFontC; | 9 | color: $mainFontC; |
10 | - span { | 10 | + & > span { |
11 | display: block; | 11 | display: block; |
12 | float: left; | 12 | float: left; |
13 | padding-right: 15px; | 13 | padding-right: 15px; |
14 | } | 14 | } |
15 | p { | 15 | p { |
16 | - overflow: hidden; | ||
17 | padding-bottom: 15px; | 16 | padding-bottom: 15px; |
18 | border-bottom: 1px solid $borderC; | 17 | border-bottom: 1px solid $borderC; |
19 | } | 18 | } |
@@ -160,20 +159,17 @@ | @@ -160,20 +159,17 @@ | ||
160 | } | 159 | } |
161 | } | 160 | } |
162 | .goods-consults.customer-consults { | 161 | .goods-consults.customer-consults { |
163 | - .consult-item:nth-child(1) { | ||
164 | - display: block; | ||
165 | - } | ||
166 | - .consult-item:nth-child(2) { | ||
167 | - display: block; | ||
168 | - } | ||
169 | .consult-item { | 162 | .consult-item { |
170 | - display: none; | 163 | + @mixin consult-item; |
164 | + margin-top: 0; | ||
165 | + margin-bottom: 15px; | ||
171 | } | 166 | } |
172 | } | 167 | } |
173 | .goods-consults { | 168 | .goods-consults { |
174 | margin-top: 5.25rem; | 169 | margin-top: 5.25rem; |
175 | overflow: hidden; | 170 | overflow: hidden; |
176 | - @mixin consult-item; | 171 | + padding: 0; |
172 | + background: none; | ||
177 | } | 173 | } |
178 | .readmore{ | 174 | .readmore{ |
179 | display: block; | 175 | display: block; |
@@ -199,7 +195,7 @@ | @@ -199,7 +195,7 @@ | ||
199 | .goods-consults .faq-item{ | 195 | .goods-consults .faq-item{ |
200 | @mixin consult-item; | 196 | @mixin consult-item; |
201 | margin-top: 0; | 197 | margin-top: 0; |
202 | - margin-bottom: 30px; | 198 | + margin-bottom: 15px; |
203 | .answer{ | 199 | .answer{ |
204 | border-bottom: none; | 200 | border-bottom: none; |
205 | } | 201 | } |
-
Please register or login to post a comment