From 2e3737646c5eae860e8aa72944a4e71fbf888089 Mon Sep 17 00:00:00 2001 From: gingervitis Date: Sun, 27 Dec 2020 01:15:17 -0800 Subject: [PATCH] style update --- web/pages/chat.tsx | 2 +- web/styles/chat.scss | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/web/pages/chat.tsx b/web/pages/chat.tsx index 0a550d303..6f5cfaff0 100644 --- a/web/pages/chat.tsx +++ b/web/pages/chat.tsx @@ -168,7 +168,7 @@ export default function Chat() { className: 'toggle-col', filters: [{ text: 'Visible messages', value: true }, { text: 'Hidden messages', value: false }], onFilter: (value, record) => record.visible === value, - render: visible => visible ? null : , + render: visible => visible ? null : , width: 30, }, ]; diff --git a/web/styles/chat.scss b/web/styles/chat.scss index 4f7d04f98..57d1b9cc3 100644 --- a/web/styles/chat.scss +++ b/web/styles/chat.scss @@ -26,7 +26,8 @@ } .message-contents { - overflow: hidden; + overflow: auto; + max-height: 200px; img { position: relative; margin-top: -5px;