File tree Expand file tree Collapse file tree 2 files changed +36
-2
lines changed Expand file tree Collapse file tree 2 files changed +36
-2
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,24 @@ useHead({
139
139
}
140
140
141
141
.detailbody-explain {
142
- /* margin: 0 auto calc(var(--unit) * 8); */
142
+ --body-font-size : 1.125rem ;
143
+ --body-font-weight : 500 ;
144
+
145
+ font-size : var (--body-font-size );
146
+ font-weight : var (--body-font-weight );
147
+ white-space : pre-wrap ;
148
+
149
+ ::v-deep(p) {
150
+ --body-p-margin-bottom : calc (var (--unit ) * 4 );
151
+
152
+ margin-bottom : var (--body-p-margin-bottom );
153
+ line-height : 1.8 ;
154
+ }
155
+
156
+ ::v-deep(p :last-child ) {
157
+ text-align : right ;
158
+ margin-bottom : 0px ;
159
+ }
143
160
}
144
161
145
162
.detailbody-explain ul {
Original file line number Diff line number Diff line change @@ -191,7 +191,24 @@ useHead({
191
191
}
192
192
193
193
.detailhead-right {
194
- font-size : 18px ;
194
+ --body-font-size : 1.125rem ;
195
+ --body-font-weight : 500 ;
196
+
197
+ font-size : var (--body-font-size );
198
+ font-weight : var (--body-font-weight );
199
+ white-space : pre-wrap ;
200
+
201
+ ::v-deep(p) {
202
+ --body-p-margin-bottom : calc (var (--unit ) * 4 );
203
+
204
+ margin-bottom : var (--body-p-margin-bottom );
205
+ line-height : 1.8 ;
206
+ }
207
+
208
+ ::v-deep(p :last-child ) {
209
+ text-align : right ;
210
+ margin-bottom : 0px ;
211
+ }
195
212
}
196
213
197
214
.detailhead-right ::v-deep(a ) {
You can’t perform that action at this time.
0 commit comments