Fix spacing in messages list; fix image message size on mobile; restore scrolling to chat screen when loading message.

This commit is contained in:
天クマ 2026-08-17 17:05:28 -03:00
commit 5943621dbf
3 changed files with 9 additions and 1 deletions

View file

@ -335,6 +335,10 @@ async function handleIncomingMessage(msg: Message) {
async function selectChat(chat: Chat, isPopState = false, smoothScroll = true) {
if (isLoadingChat) return;
const pageEl = document.getElementById("chat-page");
if (!pageEl) return;
mainView?.scrollTo(pageEl);
isLoadingChat = true;
setActiveChatState(chat);

View file

@ -338,7 +338,6 @@ export const ui = {
.input;
textEl.innerHTML = parsed;
console.log(msg);
contentEl.appendChild(textEl);
bubble.appendChild(contentEl);