支持编辑已发送的用户消息(覆盖式重发)
This commit is contained in:
@@ -280,7 +280,7 @@ main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
|
||||
.tool-card .tool-time .act-del:hover { color: #c0392b; }
|
||||
|
||||
/* ================= 底部输入区 ================= */
|
||||
footer { flex: none; padding: 8px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--page); }
|
||||
footer { position: relative; flex: none; padding: 8px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--page); }
|
||||
.attach-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
|
||||
.attach-chip {
|
||||
display: inline-flex; align-items: center; gap: 6px;
|
||||
@@ -792,8 +792,10 @@ footer { flex: none; padding: 8px 12px calc(10px + env(safe-area-inset-bottom, 0
|
||||
}
|
||||
|
||||
/* ================= 回到底部浮动按钮(同步 index 右下角导航浮动图标) ================= */
|
||||
/* 停靠在输入区上方:包含块是 footer,bottom:100% = footer 顶边,
|
||||
输入框长高/编辑条出现时随 footer 一起上移,不再用固定值 140px 遮挡输入区。 */
|
||||
.scroll-bottom-btn {
|
||||
position: absolute; right: 14px; bottom: 140px;
|
||||
position: absolute; right: 14px; bottom: calc(100% + 6px); margin: 0;
|
||||
width: 38px; height: 38px; border-radius: 50%;
|
||||
border: none; cursor: pointer; padding: 0;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
@@ -1458,3 +1460,15 @@ body.pv-resizing #pv-pane iframe { pointer-events: none; }
|
||||
background: var(--active-soft); color: var(--active);
|
||||
}
|
||||
@keyframes drop-overlay-in { from { opacity: 0; } to { opacity: 1; } }
|
||||
|
||||
/* ================= 编辑已发送消息提示条 ================= */
|
||||
/* 覆盖式重发:输入框内部的浅蓝提示条(嵌在 .input-shell 顶端,间距由 shell 的 gap 提供)。 */
|
||||
.edit-bar {
|
||||
display: flex; align-items: center; gap: 8px;
|
||||
padding: 6px 6px 6px 12px;
|
||||
border-radius: 12px; background: var(--active-soft);
|
||||
color: var(--active); font-size: 12.5px;
|
||||
}
|
||||
.edit-bar span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.edit-bar button { flex: none; padding: 2px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 600; color: var(--active); }
|
||||
.edit-bar button:active { background: rgba(57, 100, 254, 0.12); }
|
||||
|
||||
Reference in New Issue
Block a user