From f6b95d94bc99132b39bbfc340b5cb88d135dd4c0fc6e31211806ba75e577d9f1 Mon Sep 17 00:00:00 2001 From: AidarKC Date: Wed, 26 Aug 2026 12:39:49 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B2=D0=B5=D0=BB=D0=B8=D1=87=D0=B8?= =?UTF-8?q?=D0=BB=D0=B8=20=D0=B0=D0=B2=D0=B0=D1=82=D0=B0=D1=80=D1=8B=20?= =?UTF-8?q?=D0=B2=20=D1=81=D0=BF=D0=B8=D1=81=D0=BA=D0=B0=D1=85=20=D1=87?= =?UTF-8?q?=D0=B0=D1=82=D0=BE=D0=B2=20=D0=B8=20=D0=BA=D0=B0=D0=BD=D0=B0?= =?UTF-8?q?=D0=BB=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VERSION.properties | 2 +- shine-UI/js/pages/channels-list.js | 2 +- shine-UI/js/pages/messages-list.js | 4 ++-- shine-UI/styles/components.css | 31 ++++++++++++++++++------------ 4 files changed, 23 insertions(+), 16 deletions(-) diff --git a/VERSION.properties b/VERSION.properties index ec63d844..6b9c2f32 100644 --- a/VERSION.properties +++ b/VERSION.properties @@ -1,2 +1,2 @@ -client.version=1.7.1 +client.version=1.7.2 server.version=1.6.1 diff --git a/shine-UI/js/pages/channels-list.js b/shine-UI/js/pages/channels-list.js index fd636575..f6eee5fc 100644 --- a/shine-UI/js/pages/channels-list.js +++ b/shine-UI/js/pages/channels-list.js @@ -94,7 +94,7 @@ function createChannelAvatar(channel = {}) { return renderAvatar({ initials: channel.avatar || channel.initials || avatarLetterFromName(channel.displayTitle || channel.title || channel.name), avatar: channel.avaAr ? { ar: String(channel.avaAr || '').trim() } : null, - size: 'md', + size: 'lg', title: channel.displayTitle || channel.title || channel.name || 'Канал', alt: 'Аватар канала', }); diff --git a/shine-UI/js/pages/messages-list.js b/shine-UI/js/pages/messages-list.js index 787e5855..b03ade88 100644 --- a/shine-UI/js/pages/messages-list.js +++ b/shine-UI/js/pages/messages-list.js @@ -52,7 +52,7 @@ function createDmAvatar(login, { className = '' } = {}) { const title = cleanLogin ? `Профиль ${cleanLogin}` : ''; const avatarEl = renderUserAvatar({ login: cleanLogin || 'unknown', - size: 'md', + size: 'lg', title, className, }); @@ -67,7 +67,7 @@ function createDmAvatar(login, { className = '' } = {}) { sha256Hex: String(snapshot?.avatar?.sha256Hex || '').trim().toLowerCase(), } : null, - size: 'md', + size: 'lg', title, className, }); diff --git a/shine-UI/styles/components.css b/shine-UI/styles/components.css index f1fa9204..f8830858 100644 --- a/shine-UI/styles/components.css +++ b/shine-UI/styles/components.css @@ -8006,6 +8006,13 @@ html, body { overflow-x: hidden; } box-shadow: none; } +.channels-screen--list .channel-row .avatar { + width: 56px; + height: 56px; + min-width: 56px; + min-height: 56px; +} + .channels-screen--list .channel-row-main { gap: 3px; } @@ -9055,9 +9062,9 @@ body.chat-topbar-overlay .app-shell.keyboard-open .scroll-to-bottom-btn { } /* Список личных чатов: без цветной границы карточки, компактная ава как в шапке - * самого чата (28px), а дата/время стоит на строке превью. */ + * самого чата, а дата/время стоит на строке превью. */ .dm-list-screen .dm-dialog-card { - grid-template-columns: 38px minmax(0, 1fr) auto; + grid-template-columns: 60px minmax(0, 1fr) auto; gap: 10px; min-height: 58px; padding: 8px 10px; @@ -9075,19 +9082,19 @@ body.chat-topbar-overlay .app-shell.keyboard-open .scroll-to-bottom-btn { } .dm-list-screen .dm-av { - width: 34px; - height: 34px; - min-width: 34px; - min-height: 34px; + width: 60px; + height: 60px; + min-width: 60px; + min-height: 60px; } .dm-list-screen .dm-av .avatar, .dm-list-screen .list-item .avatar { - width: 40px; - height: 40px; - min-width: 40px; - min-height: 40px; - font-size: 14px; + width: 56px; + height: 56px; + min-width: 56px; + min-height: 56px; + font-size: 18px; border: 0; box-shadow: none; } @@ -9141,7 +9148,7 @@ body.chat-topbar-overlay .app-shell.keyboard-open .scroll-to-bottom-btn { @media (max-width: 380px) { .dm-list-screen .dm-dialog-card { - grid-template-columns: 38px minmax(0, 1fr) auto; + grid-template-columns: 60px minmax(0, 1fr) auto; } .dm-list-screen .dm-row-meta-col {