fix: library actions inside the sidebar (#5638)

This commit is contained in:
Aakansha Doshi 2022-08-29 19:26:03 +05:30 committed by GitHub
parent 59a1d192d2
commit 553b493f37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -432,6 +432,7 @@ const LayerUI = ({
)} )}
{!device.isMobile && ( {!device.isMobile && (
<>
<div <div
className={clsx("layer-ui__wrapper", { className={clsx("layer-ui__wrapper", {
"disable-pointerEvents": "disable-pointerEvents":
@ -478,10 +479,11 @@ const LayerUI = ({
{t("buttons.scrollBackToContent")} {t("buttons.scrollBackToContent")}
</button> </button>
)} )}
</div>
{appState.isLibraryOpen && ( {appState.isLibraryOpen && (
<div className="layer-ui__sidebar">{libraryMenu}</div> <div className="layer-ui__sidebar">{libraryMenu}</div>
)} )}
</div> </>
)} )}
</> </>
); );