[FIX] Visibility of burger menu on certain width (#20736)

Co-authored-by: dougfabris <deefabris@gmail.com>
pull/21685/head^2
yash-rajpal 4 years ago committed by GitHub
parent 41ee39cb9a
commit c03e4a4567
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/theme/client/imports/components/sidebar/sidebar.css
  2. 2
      client/providers/LayoutProvider.tsx
  3. 1
      client/views/room/Header/RoomHeader.js

@ -98,7 +98,7 @@
}
}
@media (width < 780px) {
@media (width < 768px) {
.sidebar {
position: absolute;

@ -17,7 +17,7 @@ const LayoutProvider: FC = ({ children }) => {
children={children}
value={useMemo(
() => ({
isMobile: !breakpoints.includes('sm'),
isMobile: !breakpoints.includes('md'),
isEmbedded,
showTopNavbarEmbeddedLayout,
sidebar: menu,

@ -20,6 +20,7 @@ const RoomHeader = ({ room, topic }) => {
const { isMobile } = useLayout();
const avatar = <RoomAvatar room={room} />;
const showQuickActions = roomTypes.showQuickActionButtons(room.t);
return (
<Header>
{isMobile && (

Loading…
Cancel
Save