mirror of
https://github.com/dartdavros/chatballs.git
synced 2026-10-05 09:14:58 +03:00
⏪ fix(ui): лента чата — прежний фон (surface-feed #f5f6f8 / #15161a), без обоев; обои остаются на экранах входа
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
94ec4430f9
commit
14f0dd4a95
3 files changed
+3
-11
No files matched your search
@@ -41,7 +41,6 @@ export function scopeLabel(scope: DialogScope): string {
|
||||
if (scope.kind === "assignee") return scope.label;
|
||||
return "Все диалоги";
|
||||
}
|
||||
import { IconWallpaper } from "../../shared/IconWallpaper";
|
||||
import type { ConversationListItem, ListTab } from "./types";
|
||||
import { useConversationCall } from "./useConversationCall";
|
||||
import { useIncomingMessageSound } from "./useIncomingMessageSound";
|
||||
@@ -257,11 +256,10 @@ export function ConversationWorkspace({ isOwner = false, viewerId = null, listTi
|
||||
searchRef={searchRef}
|
||||
/>
|
||||
{!selectedDialog && (
|
||||
<section className="sales-conversation"><IconWallpaper /><div className="sales-conversation-empty">Выберите диалог</div></section>
|
||||
<section className="sales-conversation"><div className="sales-conversation-empty">Выберите диалог</div></section>
|
||||
)}
|
||||
{selectedDialog && (
|
||||
<section className="sales-conversation">
|
||||
<IconWallpaper />
|
||||
{ctxOpen && <button className="ctx-backdrop" type="button" aria-label="Закрыть панель" onClick={() => setCtxOpen(false)} />}
|
||||
<ConversationThread controlMode={controlMode} dialog={selectedDialog} detail={detail} isOwner={isOwner} onExpandList={listCollapsed ? () => setListCollapsed(false) : undefined} viewerId={viewerId} onClaim={onClaim} onRelease={onRelease} onClose={onClose} onSpam={onSpam} onReturnQueue={onReturnQueue} onArchive={onArchive} onToggleContext={() => setCtxOpen((open) => !open)} onMobileBack={() => setMobileDialogOpen(false)} />
|
||||
{(detailError || actionError) && <div className="sales-conversation-error">{detailError || actionError}</div>}
|
||||
|
||||
@@ -8,12 +8,6 @@
|
||||
background: var(--surface-feed);
|
||||
}
|
||||
|
||||
/* Обои ленты (макет владельца): за сообщениями, шапка и композер — поверх. */
|
||||
.sales-conversation > *:not(.icon-wallpaper) {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.sales-conversation-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
--surface-page: var(--n-11);
|
||||
--surface-card: #ffffff;
|
||||
--surface-sidebar: #fafafa;
|
||||
--surface-feed: #dedfd9;
|
||||
--surface-feed: #f5f6f8;
|
||||
--wallpaper-bg: #dedfd9;
|
||||
--wallpaper-ink: #5d635d;
|
||||
--msg-in: #ffffff;
|
||||
@@ -84,7 +84,7 @@
|
||||
--surface-page: #101113;
|
||||
--surface-card: #1b1c1f;
|
||||
--surface-sidebar: #181a1d;
|
||||
--surface-feed: #25292e;
|
||||
--surface-feed: #15161a;
|
||||
--wallpaper-bg: #25292e;
|
||||
--wallpaper-ink: #f1f2f3;
|
||||
--msg-in: #1e2025;
|
||||
|
||||
Reference in new issue
Block a user