mirror of
https://github.com/zschaffer/rating-room.git
synced 2024-06-19 07:27:08 +00:00
Adjusted split scrolling
This commit is contained in:
parent
1cbe0758c1
commit
0e1e631e43
|
@ -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;
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue
Block a user