From 89aa36a2182db80daaf0715a11a5c6206ba81c21 Mon Sep 17 00:00:00 2001 From: migbash <20924663+migbash@users.noreply.github.com> Date: Sat, 18 Feb 2023 10:54:33 +0000 Subject: [PATCH] fix: #1058 (update); --- .../components/page/profile/Modal-ProfilePictureCrop.svelte | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/components/page/profile/Modal-ProfilePictureCrop.svelte b/src/lib/components/page/profile/Modal-ProfilePictureCrop.svelte index a7ecc649c..e7e55c278 100644 --- a/src/lib/components/page/profile/Modal-ProfilePictureCrop.svelte +++ b/src/lib/components/page/profile/Modal-ProfilePictureCrop.svelte @@ -453,6 +453,8 @@ COMPONENT JS (w/ TS) * @returns {void} */ function clear_event_listeners(): void { + document.documentElement.classList.remove('no-touch'); + document.body.classList.remove('no-touch'); let imageCropBox: HTMLElement = document.getElementById('profile-cricle-img-crop'); let resize_elemnts: HTMLCollectionOf = document.getElementsByClassName('resize-dot') imageCropBox.removeEventListener('touchstart', mousedown_event, true); @@ -640,7 +642,8 @@ COMPONENT STYLE z-index: 0; /* style */ height: inherit; - width: auto; + width: 100%; + /* width: auto; */ /* object-fit: cover; */ background-color: var(--white); mask-image: radial-gradient(