字体调大
This commit is contained in:
@@ -411,7 +411,7 @@
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-radius: 24rpx;
|
border-radius: 24rpx;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
font-size: 28rpx;
|
font-size: 32rpx;
|
||||||
line-height: 1.65;
|
line-height: 1.65;
|
||||||
position: relative;
|
position: relative;
|
||||||
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.04);
|
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.04);
|
||||||
|
|||||||
@@ -1258,9 +1258,18 @@
|
|||||||
<!-- v-html 渲染的 markdown 内容无法被 scoped 样式命中,需非 scoped 样式块 -->
|
<!-- v-html 渲染的 markdown 内容无法被 scoped 样式命中,需非 scoped 样式块 -->
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.chat-content {
|
.chat-content {
|
||||||
h1 { font-size: 36rpx; line-height: 1.4; margin: 16rpx 0 10rpx; }
|
h1 { font-size: 42rpx; line-height: 1.4; margin: 16rpx 0 10rpx; }
|
||||||
h2 { font-size: 32rpx; line-height: 1.4; margin: 14rpx 0 8rpx; }
|
h2 { font-size: 38rpx; line-height: 1.4; margin: 14rpx 0 8rpx; }
|
||||||
h3 { font-size: 30rpx; line-height: 1.4; margin: 12rpx 0 8rpx; }
|
h3 { font-size: 36rpx; line-height: 1.4; margin: 12rpx 0 8rpx; }
|
||||||
h4, h5, h6 { font-size: 28rpx; line-height: 1.5; margin: 10rpx 0 6rpx; }
|
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>
|
</style>
|
||||||
20
unpackage/dist/dev/app-plus/pages/Chat/Chat.css
vendored
20
unpackage/dist/dev/app-plus/pages/Chat/Chat.css
vendored
@@ -1269,7 +1269,7 @@ to { opacity: 1; transform: translateY(0);
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-radius: 0.75rem;
|
border-radius: 0.75rem;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
font-size: 0.875rem;
|
font-size: 1rem;
|
||||||
line-height: 1.65;
|
line-height: 1.65;
|
||||||
position: relative;
|
position: relative;
|
||||||
box-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.04);
|
box-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.04);
|
||||||
@@ -1636,23 +1636,33 @@ to { opacity: 1; transform: translateY(0);
|
|||||||
/* 垂直间距 */
|
/* 垂直间距 */
|
||||||
/* 透明度 */
|
/* 透明度 */
|
||||||
/* 文章场景相关 */
|
/* 文章场景相关 */
|
||||||
|
.chat-content {
|
||||||
|
/* 普通正文 */
|
||||||
|
}
|
||||||
.chat-content h1 {
|
.chat-content h1 {
|
||||||
font-size: 1.125rem;
|
font-size: 1.3125rem;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
margin: 0.5rem 0 0.3125rem;
|
margin: 0.5rem 0 0.3125rem;
|
||||||
}
|
}
|
||||||
.chat-content h2 {
|
.chat-content h2 {
|
||||||
font-size: 1rem;
|
font-size: 1.1875rem;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
margin: 0.4375rem 0 0.25rem;
|
margin: 0.4375rem 0 0.25rem;
|
||||||
}
|
}
|
||||||
.chat-content h3 {
|
.chat-content h3 {
|
||||||
font-size: 0.9375rem;
|
font-size: 1.125rem;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
margin: 0.375rem 0 0.25rem;
|
margin: 0.375rem 0 0.25rem;
|
||||||
}
|
}
|
||||||
.chat-content h4, .chat-content h5, .chat-content h6 {
|
.chat-content h4, .chat-content h5, .chat-content h6 {
|
||||||
font-size: 0.875rem;
|
font-size: 1.0625rem;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
margin: 0.3125rem 0 0.1875rem;
|
margin: 0.3125rem 0 0.1875rem;
|
||||||
}
|
}
|
||||||
|
.chat-content p,
|
||||||
|
.chat-content uni-text,
|
||||||
|
.chat-content span {
|
||||||
|
font-size: 1.1875rem !important;
|
||||||
|
line-height: 1.6;
|
||||||
|
margin: 0.25rem 0;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user