Исправить мелкие баги дизайна UI

This commit is contained in:
AidarKC
2026-11-09 09:57:47 +03:00
parent 4068465ee6
commit 34f7faf0a8
7 changed files with 128 additions and 118 deletions
+11
View File
@@ -19,6 +19,17 @@
/* Корневые разделы (Чаты, Каналы, Связи, Уведомления, Профиль) – заголовок по центру, как на всех экранах, но крупнее. */
.topbar--root .topbar__title { font-size: 1.375rem; line-height: 1.75rem; font-weight: 700; letter-spacing: -0.01em; }
/* В списках чатов и каналов фильтр встроен в заголовок слева.
* Остальные разделы сохраняют центрированный TopBar. */
.topbar--section-filter { grid-template-columns: minmax(0, 1fr) auto; }
.topbar--section-filter .topbar__left { display: none; }
.topbar--section-filter .topbar__center { justify-content: flex-start; }
.topbar-filter-title { display: inline-flex; align-items: center; gap: 5px; min-width: 0; max-width: 100%; min-height: 44px; padding: 0 6px; border: 0; border-radius: 12px; background: transparent; color: var(--text-primary); font: inherit; font-size: 1.125rem; font-weight: 700; line-height: 1.4; letter-spacing: -0.01em; text-align: left; cursor: pointer; }
.topbar-filter-title__caption { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-filter-title__chevron { display: inline-flex; flex: 0 0 16px; width: 16px; color: var(--text-secondary); }
.topbar-filter-title__chevron svg { display: block; width: 16px; height: 16px; }
/* Шапка-визитка: аватар и две строки слева (канал, собеседник) */
.topbar--identity { grid-template-columns: auto minmax(0, 1fr) auto; }
.topbar--identity .topbar__center { justify-content: flex-start; }