...
|
...
|
@@ -189,7 +189,7 @@ export default { |
|
|
this.$nextTick(() => {
|
|
|
this.$refs.richText.querySelectorAll('p').forEach(ele => {
|
|
|
if (ele.querySelector('img')) {
|
|
|
ele.style.padding = 0;
|
|
|
ele.style.margin = 0;
|
|
|
}
|
|
|
});
|
|
|
this.$refs.richText && this.$refs.richText.querySelectorAll('a').forEach(ele => {
|
...
|
...
|
@@ -269,10 +269,9 @@ export default { |
|
|
font-size: 36px;
|
|
|
color: #222;
|
|
|
line-height: 56px;
|
|
|
margin-top: 10px;
|
|
|
margin-bottom: 16px;
|
|
|
letter-spacing: 0.68px;
|
|
|
font-weight: bolder;
|
|
|
margin: 10px 30px 16px 30px;
|
|
|
}
|
|
|
|
|
|
.context-rich-text /deep/ {
|
...
|
...
|
@@ -284,7 +283,7 @@ export default { |
|
|
}
|
|
|
|
|
|
& > * {
|
|
|
padding: 0 30px;
|
|
|
margin: 0 30px;
|
|
|
}
|
|
|
|
|
|
h1,
|
...
|
...
|
|