From 0d38f3869288bcd281ac9ddbb941f7fc664314a3 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Sat, 4 Apr 2026 01:24:20 +0200 Subject: [PATCH] fix chat position --- webapp/components/Chat/Chat.vue | 5 +--- webapp/constants/chat.js | 4 +-- webapp/pages/chat.vue | 51 +++++++++++++++++++-------------- 3 files changed, 33 insertions(+), 27 deletions(-) diff --git a/webapp/components/Chat/Chat.vue b/webapp/components/Chat/Chat.vue index 7ab22843f..9878d883e 100644 --- a/webapp/components/Chat/Chat.vue +++ b/webapp/components/Chat/Chat.vue @@ -247,10 +247,7 @@ export default { }), chatHeight() { if (this.singleRoom) return 'calc(100dvh - 190px)' - if (typeof window !== 'undefined' && window.innerWidth <= 768) { - return '100%' - } - return 'calc(100dvh - 190px)' + return '100%' }, computedChatStyle() { return chatStyle.STYLE.light diff --git a/webapp/constants/chat.js b/webapp/constants/chat.js index d471b85b8..5d974ffab 100644 --- a/webapp/constants/chat.js +++ b/webapp/constants/chat.js @@ -20,8 +20,8 @@ const STYLE = { container: { border: 'none', - borderRadius: styleData.borderRadiusBase, - boxShadow: styleData.boxShadowBase, + borderRadius: '0', + boxShadow: 'none', }, header: { diff --git a/webapp/pages/chat.vue b/webapp/pages/chat.vue index 979d0f84e..9c5878cf9 100644 --- a/webapp/pages/chat.vue +++ b/webapp/pages/chat.vue @@ -90,8 +90,33 @@ export default {