This commit is contained in:
aaron 2025-05-09 22:59:06 +08:00
parent 0ee5106ac4
commit fa5db752e5
2 changed files with 19 additions and 1 deletions

View File

@ -5,7 +5,7 @@ services:
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
image: tradus-web:1.0.23 image: tradus-web:1.0.24
container_name: tradus-web container_name: tradus-web
ports: ports:
- '6000:80' - '6000:80'

View File

@ -645,6 +645,15 @@ const getIconPath = (agent: Agent) => {
.message-text :deep(p) { .message-text :deep(p) {
margin: 0.2em 0; margin: 0.2em 0;
line-height: 1.4; line-height: 1.4;
display: inline-block;
}
.message-text :deep(p:last-child) {
margin-bottom: 0;
}
.message-text :deep(p:first-child) {
margin-top: 0;
} }
.message-text :deep(ul), .message-text :deep(ul),
@ -754,6 +763,15 @@ const getIconPath = (agent: Agent) => {
:deep(.markdown-body p) { :deep(.markdown-body p) {
margin: 0.2em 0; margin: 0.2em 0;
line-height: 1.4; line-height: 1.4;
display: inline-block;
}
:deep(.markdown-body p:last-child) {
margin-bottom: 0;
}
:deep(.markdown-body p:first-child) {
margin-top: 0;
} }
:deep(.markdown-body h1), :deep(.markdown-body h1),