fix(chat): increase mobile message font size
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
/* ChatScreen 编排层样式(仅 shell 容器 + 背景) */
|
||||
|
||||
.shell {
|
||||
--chat-message-font-size: clamp(16px, 3.333vw, 18px);
|
||||
--chat-message-line-height: 1.5;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: var(--app-viewport-height, 100dvh);
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
align-self: stretch;
|
||||
padding: var(--spacing-3, 12px) var(--spacing-4, 16px);
|
||||
border-radius: var(--radius-xxl, 24px);
|
||||
font-size: var(--responsive-body, var(--font-size-body-lg, 16px));
|
||||
line-height: 1.45;
|
||||
font-size: var(--chat-message-font-size, var(--responsive-body, 16px));
|
||||
line-height: var(--chat-message-line-height, 1.5);
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
box-shadow: var(--shadow-input-box, 0 1px 2px rgba(0, 0, 0, 0.1));
|
||||
|
||||
Reference in New Issue
Block a user