字体调大
This commit is contained in:
@@ -411,7 +411,7 @@
|
||||
box-sizing: border-box;
|
||||
border-radius: 24rpx;
|
||||
overflow-x: auto;
|
||||
font-size: 28rpx;
|
||||
font-size: 32rpx;
|
||||
line-height: 1.65;
|
||||
position: relative;
|
||||
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.04);
|
||||
|
||||
@@ -1258,9 +1258,18 @@
|
||||
<!-- v-html 渲染的 markdown 内容无法被 scoped 样式命中,需非 scoped 样式块 -->
|
||||
<style lang="scss">
|
||||
.chat-content {
|
||||
h1 { font-size: 36rpx; line-height: 1.4; margin: 16rpx 0 10rpx; }
|
||||
h2 { font-size: 32rpx; line-height: 1.4; margin: 14rpx 0 8rpx; }
|
||||
h3 { font-size: 30rpx; line-height: 1.4; margin: 12rpx 0 8rpx; }
|
||||
h4, h5, h6 { font-size: 28rpx; line-height: 1.5; margin: 10rpx 0 6rpx; }
|
||||
h1 { font-size: 42rpx; line-height: 1.4; margin: 16rpx 0 10rpx; }
|
||||
h2 { font-size: 38rpx; line-height: 1.4; margin: 14rpx 0 8rpx; }
|
||||
h3 { font-size: 36rpx; line-height: 1.4; margin: 12rpx 0 8rpx; }
|
||||
h4, h5, h6 { font-size: 34rpx; line-height: 1.5; margin: 10rpx 0 6rpx; }
|
||||
|
||||
/* 普通正文 */
|
||||
p,
|
||||
text,
|
||||
span {
|
||||
font-size: 38rpx !important;
|
||||
line-height: 1.6;
|
||||
margin: 8rpx 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user