Showing
1 changed file
with
3 additions
and
4 deletions
@@ -189,7 +189,7 @@ export default { | @@ -189,7 +189,7 @@ export default { | ||
189 | this.$nextTick(() => { | 189 | this.$nextTick(() => { |
190 | this.$refs.richText.querySelectorAll('p').forEach(ele => { | 190 | this.$refs.richText.querySelectorAll('p').forEach(ele => { |
191 | if (ele.querySelector('img')) { | 191 | if (ele.querySelector('img')) { |
192 | - ele.style.padding = 0; | 192 | + ele.style.margin = 0; |
193 | } | 193 | } |
194 | }); | 194 | }); |
195 | this.$refs.richText && this.$refs.richText.querySelectorAll('a').forEach(ele => { | 195 | this.$refs.richText && this.$refs.richText.querySelectorAll('a').forEach(ele => { |
@@ -269,10 +269,9 @@ export default { | @@ -269,10 +269,9 @@ export default { | ||
269 | font-size: 36px; | 269 | font-size: 36px; |
270 | color: #222; | 270 | color: #222; |
271 | line-height: 56px; | 271 | line-height: 56px; |
272 | - margin-top: 10px; | ||
273 | - margin-bottom: 16px; | ||
274 | letter-spacing: 0.68px; | 272 | letter-spacing: 0.68px; |
275 | font-weight: bolder; | 273 | font-weight: bolder; |
274 | + margin: 10px 30px 16px 30px; | ||
276 | } | 275 | } |
277 | 276 | ||
278 | .context-rich-text /deep/ { | 277 | .context-rich-text /deep/ { |
@@ -284,7 +283,7 @@ export default { | @@ -284,7 +283,7 @@ export default { | ||
284 | } | 283 | } |
285 | 284 | ||
286 | & > * { | 285 | & > * { |
287 | - padding: 0 30px; | 286 | + margin: 0 30px; |
288 | } | 287 | } |
289 | 288 | ||
290 | h1, | 289 | h1, |
-
Please register or login to post a comment