SHA256
UI: обсуждения по ТЗ – открытие записи, общий редактор ответа, нижняя панель
Нижняя панель снова видна в канале, обсуждении и личном чате. Нажатие на запись в ленте открывает её вместе с обсуждением; «Обсуждение» и «Ответить» открывают обсуждение и сразу редактор ответа. Нажатие на ответ в обсуждении открывает его как отдельное обсуждение. Ответ пишется в том же редакторе, что и запись канала (с вложениями): над полем – цепочка от исходной записи до той, на которую отвечаем, с аватарами и линией, как в Threads. Строка внизу обсуждения «Ответить …» открывает этот редактор; простое поле ввода убрано.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
.thread-section-title { margin: 12px 0 4px; font-size: .8125rem; font-weight: 600; color: var(--text-primary); }
|
||||
.thread-group { position: relative; padding: 12px 0 6px; }
|
||||
.thread-group + .thread-group { border-top: 1px solid var(--border-subtle); }
|
||||
.channels-screen .thread-comment { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 10px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; scroll-margin: 16px; }
|
||||
.channels-screen .thread-comment { cursor: pointer; position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 10px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; scroll-margin: 16px; }
|
||||
.channels-screen .thread-comment--nested { grid-template-columns: 28px minmax(0, 1fr); margin-top: 10px; }
|
||||
.thread-comment.is-highlight { background: var(--surface-selected); box-shadow: 0 0 0 6px var(--surface-selected); border-radius: 4px; }
|
||||
.thread-comment__who { align-self: start; padding: 0; border: 0; background: transparent; cursor: pointer; }
|
||||
@@ -52,13 +52,6 @@ button.thread-quote:hover { background: var(--surface); }
|
||||
.thread-return { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 5; padding: 9px 12px; border: 1px solid var(--border-subtle); border-radius: 20px; background: var(--surface-raised); color: var(--text-primary); font: inherit; font-size: .75rem; white-space: nowrap; cursor: pointer; }
|
||||
.thread-empty { padding: 36px 20px; text-align: center; }
|
||||
|
||||
.thread-composer { display: grid; gap: 8px; }
|
||||
.thread-replying { display: flex; gap: 8px; align-items: flex-start; }
|
||||
.thread-replying[hidden] { display: none; }
|
||||
.thread-replying .thread-quote { margin: 0; min-width: 0; cursor: default; }
|
||||
.thread-replying__cancel { width: 32px; height: 32px; flex-shrink: 0; padding: 0; display: grid; place-items: center; border: 0; background: transparent; color: var(--text-secondary); cursor: pointer; }
|
||||
.thread-replying__cancel svg { width: 20px; height: 20px; }
|
||||
.thread-composer__emoji { max-height: 260px; overflow: auto; }
|
||||
|
||||
/* Отдельная публикация в обсуждении использует карточку и действия из ленты. */
|
||||
.thread-block--focus > .channel-message-card { margin-bottom: 8px; }
|
||||
|
||||
Reference in New Issue
Block a user