From 33b5f2ee4d6ecbfd7132e230e38fbdffdc107b1d Mon Sep 17 00:00:00 2001 From: Ricky Stretch Date: Thu, 12 Mar 2026 23:49:24 -0400 Subject: [PATCH] v0.8.2 added font resizing pinch zoom --- .env.example | 2 +- backend/package.json | 2 +- build.sh | 2 +- frontend/package.json | 2 +- frontend/src/components/ChatWindow.css | 10 +++++++++- frontend/src/components/MessageInput.css | 10 ++++++++++ 6 files changed, 23 insertions(+), 5 deletions(-) diff --git a/.env.example b/.env.example index b0311a9..497dcb9 100644 --- a/.env.example +++ b/.env.example @@ -7,7 +7,7 @@ TZ=UTC # Copy this file to .env and customize # Image version to run (set by build.sh, or use 'latest') -JAMA_VERSION=0.8.0 +JAMA_VERSION=0.8.2 # Default admin credentials (used on FIRST RUN only) ADMIN_NAME=Admin User diff --git a/backend/package.json b/backend/package.json index 6217ae6..9d685f6 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "jama-backend", - "version": "0.8.0", + "version": "0.8.2", "description": "TeamChat backend server", "main": "src/index.js", "scripts": { diff --git a/build.sh b/build.sh index a45d280..ffc5d1a 100644 --- a/build.sh +++ b/build.sh @@ -13,7 +13,7 @@ # ───────────────────────────────────────────────────────────── set -euo pipefail -VERSION="${1:-0.8.0}" +VERSION="${1:-0.8.2}" ACTION="${2:-}" REGISTRY="${REGISTRY:-}" IMAGE_NAME="jama" diff --git a/frontend/package.json b/frontend/package.json index 36f702c..551af86 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "jama-frontend", - "version": "0.8.0", + "version": "0.8.2", "private": true, "scripts": { "dev": "vite", diff --git a/frontend/src/components/ChatWindow.css b/frontend/src/components/ChatWindow.css index c56c034..1df4e8b 100644 --- a/frontend/src/components/ChatWindow.css +++ b/frontend/src/components/ChatWindow.css @@ -95,9 +95,17 @@ display: flex; flex-direction: column; gap: 2px; - /* Anchor scroll to bottom so new messages appear above the input */ scroll-padding-bottom: 0; overscroll-behavior: contain; + align-items: stretch; +} + +/* Cap message width and centre on wide screens */ +.messages-container > * { + max-width: 1024px; + width: 100%; + align-self: center; + box-sizing: border-box; } .load-more-btn { diff --git a/frontend/src/components/MessageInput.css b/frontend/src/components/MessageInput.css index 4bac913..bc3d9c9 100644 --- a/frontend/src/components/MessageInput.css +++ b/frontend/src/components/MessageInput.css @@ -9,6 +9,16 @@ flex-shrink: 0; /* never compress — always visible above keyboard */ position: relative; z-index: 2; + /* Centre input content with max-width on wide screens */ + align-items: stretch; +} + +/* All direct children of the input area capped at 1024px and centred */ +.message-input-area > * { + max-width: 1024px; + width: 100%; + align-self: center; + box-sizing: border-box; } .reply-bar-input {