From 92e3719ac50db3784f6d43522d15e5014c5c6bb0 Mon Sep 17 00:00:00 2001 From: MyNameIsBatman Date: Wed, 22 Dec 2021 21:13:30 -0300 Subject: [PATCH] Finish Chat History Styling (for now) --- src/assets/images/icons/small-room.png | Bin 0 -> 413 bytes src/assets/styles/icons.scss | 6 ++++++ src/views/chat-history/ChatHistoryView.tsx | 21 +++++++++++---------- 3 files changed, 17 insertions(+), 10 deletions(-) create mode 100644 src/assets/images/icons/small-room.png diff --git a/src/assets/images/icons/small-room.png b/src/assets/images/icons/small-room.png new file mode 100644 index 0000000000000000000000000000000000000000..c8bbbccc0b9d5fb2912bfdbfdfc0eafb8e5482d1 GIT binary patch literal 413 zcmV;O0b>4%P)aB^>EX>4U6ba`-PAVE-2F#rGvnd3@N%}XuHOjal;%1_J8 zN##-i17i~|6H60IqeKG(0}BHPFf=eQHUyGJK(;wlDA51~n3$WT0in5BvY9D}&jkQa zx)o>}E!d0z008MpL_t(Ijg^zJ4go = props => parent={props.parent} rowIndex={props.index} > -
+
{(item.type === ChatEntryType.TYPE_CHAT) && -
-
{item.timestamp}
-
-
{item.message}
+
+
{item.timestamp}
+
+
{item.message}
} {(item.type === ChatEntryType.TYPE_ROOM_INFO) && -
-
{item.timestamp}
-
{item.name}
+
+
{item.timestamp}
+ +
{item.name}
} @@ -134,9 +135,9 @@ export const ChatHistoryView: FC<{}> = props => {isVisible && - + setIsVisible(false) } theme={'dark'}/> - +
{({ height, width }) =>