From c9efb12e5b60cc4e029d4ae0ad166855e35e4367 Mon Sep 17 00:00:00 2001 From: David Luzar Date: Fri, 15 Sep 2023 14:08:51 +0200 Subject: [PATCH] fix: use `device.isMobile` for sidebar trigger label breakpoint (#6994) --- src/components/Sidebar/SidebarTrigger.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Sidebar/SidebarTrigger.scss b/src/components/Sidebar/SidebarTrigger.scss index 5aeef52e..7c0669c4 100644 --- a/src/components/Sidebar/SidebarTrigger.scss +++ b/src/components/Sidebar/SidebarTrigger.scss @@ -25,10 +25,10 @@ } .default-sidebar-trigger .sidebar-trigger__label { - display: none; + display: block; + } - @media screen and (min-width: 1024px) { - display: block; - } + &.excalidraw--mobile .default-sidebar-trigger .sidebar-trigger__label { + display: none; } }