Merge branch 'users' of github.com:appwrite/appwrite-console-poc into storage

This commit is contained in:
Arman committed 2022-06-27 12:20:14 +02:00
commit 6aba54a35a
1 file changed
+7 -4
+7 -4
View File
@@ -1,4 +1,5 @@
<script lang="ts">
import { browser } from '$app/env';
import { createEventDispatcher } from 'svelte';
import { fade, fly, type FadeParams, type FlyParams } from 'svelte/transition';
@@ -32,10 +33,12 @@
dispatch('close');
};
$: if (show) {
document.body.classList.add('u-overflow-hidden');
} else {
document.body.classList.remove('u-overflow-hidden');
$: if (browser) {
if (show) {
document.body.classList.add('u-overflow-hidden');
} else {
document.body.classList.remove('u-overflow-hidden');
}
}
</script>