Adjusted split scrolling

This commit is contained in:
Xinrui Chen 2022-07-17 17:18:22 -07:00
parent 1cbe0758c1
commit 0e1e631e43
2 changed files with 5 additions and 2 deletions

View File

@ -24,7 +24,6 @@
);
break;
case 'created':
console.log($productsView);
productsView.set(
$productsView.sort((prev, curr) => {
if (current) return new Date(prev._createdAt) < new Date(curr._createdAt) ? -1 : 1;

View File

@ -33,13 +33,17 @@
goToProduct();
}
}
const { container} = {
container: 'h-screen overflow-auto'
}
</script>
<svelte:head>
<title>Rating Room</title>
</svelte:head>
<div>
<div class={container}>
{#if Object.keys($currentProduct).length}
<Feature />
{:else}