From 87f3afd8fde309acb3362736a6944d380cf6d1fd Mon Sep 17 00:00:00 2001 From: Ajay Bura Date: Sun, 24 Apr 2022 16:47:24 +0530 Subject: [PATCH] Fix members btn not visible in small devices --- src/app/molecules/message/Message.scss | 3 ++- src/app/organisms/room/RoomViewHeader.jsx | 1 + src/app/organisms/room/RoomViewHeader.scss | 5 +++++ src/app/partials/_screen.scss | 2 +- src/index.scss | 4 +++- 5 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/app/molecules/message/Message.scss b/src/app/molecules/message/Message.scss index 54c9ad8..a1f5051 100644 --- a/src/app/molecules/message/Message.scss +++ b/src/app/molecules/message/Message.scss @@ -1,6 +1,7 @@ @use '../../atoms/scroll/scrollbar'; @use '../../partials/text'; @use '../../partials/dir'; +@use '../../partials/screen'; .message, .ph-msg { @@ -95,7 +96,7 @@ .message__reactions { max-width: calc(100% - 88px); min-width: 0; - @media (max-width: 1124px) { + @include screen.smallerThan(tabletBreakpoint) { max-width: 100%; } } diff --git a/src/app/organisms/room/RoomViewHeader.jsx b/src/app/organisms/room/RoomViewHeader.jsx index a4915ad..849ba14 100644 --- a/src/app/organisms/room/RoomViewHeader.jsx +++ b/src/app/organisms/room/RoomViewHeader.jsx @@ -95,6 +95,7 @@ function RoomViewHeader({ roomId }) { toggleRoomSettings(tabText.SEARCH)} tooltip="Search" src={SearchIC} /> + toggleRoomSettings(tabText.MEMBERS)} tooltip="Members" src={UserIC} />