update
This commit is contained in:
parent
e515246514
commit
9a16d9d556
@ -5,7 +5,7 @@ services:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: tradus-web:1.0.18
|
||||
image: tradus-web:1.0.19
|
||||
container_name: tradus-web
|
||||
ports:
|
||||
- '6000:80'
|
||||
|
||||
@ -676,6 +676,8 @@ const getIconPath = (agent: Agent) => {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
gap: 0.5rem;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.message-input {
|
||||
@ -800,7 +802,6 @@ const getIconPath = (agent: Agent) => {
|
||||
|
||||
/* 修改 Agent 选择器样式 */
|
||||
.agent-selector {
|
||||
/* padding: 1rem 2rem; */
|
||||
background-color: #ffffff;
|
||||
max-width: 900px;
|
||||
margin: 0 auto;
|
||||
@ -890,12 +891,69 @@ const getIconPath = (agent: Agent) => {
|
||||
@media (max-width: 480px) {
|
||||
.messages-container {
|
||||
padding: 0.75rem 0.5rem;
|
||||
padding-bottom: calc(4rem + env(safe-area-inset-bottom));
|
||||
padding-bottom: calc(8rem + 60px); /* 为 Agent 选择器预留空间 */
|
||||
}
|
||||
|
||||
.input-container {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
padding: 0.75rem;
|
||||
padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
|
||||
background-color: var(--color-bg-primary);
|
||||
border-top: 1px solid var(--color-border);
|
||||
z-index: 10;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.input-wrapper {
|
||||
max-width: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.message-input {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.send-button {
|
||||
position: absolute;
|
||||
right: 0.75rem;
|
||||
bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.agent-selector {
|
||||
position: fixed;
|
||||
bottom: calc(4rem + env(safe-area-inset-bottom));
|
||||
left: 0;
|
||||
right: 0;
|
||||
background-color: var(--color-bg-primary);
|
||||
border-top: 1px solid var(--color-border);
|
||||
z-index: 11; /* 确保比输入框的z-index高 */
|
||||
padding: 0;
|
||||
box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.agent-list {
|
||||
padding: 0.5rem;
|
||||
padding-bottom: calc(3.5rem + env(safe-area-inset-bottom));
|
||||
gap: 0.5rem;
|
||||
overflow-x: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
margin: 0;
|
||||
background-color: var(--color-bg-primary);
|
||||
}
|
||||
|
||||
.agent-item {
|
||||
padding: 0.5rem 0.75rem;
|
||||
font-size: 0.9rem;
|
||||
min-width: auto;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.message-content {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user