From 5120f53ef2ec94ddcf3a0b9aff413e55705c0ac8 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Mon, 8 Jan 2024 23:45:57 -0800
Subject: refactor(schedule): unique ids

---
 src/lib/Tools/Schedule/Crunchyroll.svelte | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

(limited to 'src/lib/Tools/Schedule/Crunchyroll.svelte')

diff --git a/src/lib/Tools/Schedule/Crunchyroll.svelte b/src/lib/Tools/Schedule/Crunchyroll.svelte
index 68a73202..faba0222 100644
--- a/src/lib/Tools/Schedule/Crunchyroll.svelte
+++ b/src/lib/Tools/Schedule/Crunchyroll.svelte
@@ -1,5 +1,6 @@
 <script lang="ts">
 	import crunchyroll from '$lib/crunchyroll.json';
+	import './container.css';
 
 	interface CrunchyrollMedia<T = number | 'soon' | 'continuing'> {
 		year: number;
@@ -42,7 +43,7 @@
 	};
 </script>
 
-<div id="list-container" style={`column-count: ${columnCount};`}>
+<div class="list-container" id="crunchyroll" style={`column-count: ${columnCount};`}>
 	{#each Object.values(days) as day}
 		{@const date = new Date(day[0].year, day[0].month - 1, day[0].day)}
 
@@ -91,11 +92,6 @@
 </div>
 
 <style>
-	#list-container {
-		column-width: 250px;
-		/* break-inside: avoid-column; */
-	}
-
 	.day {
 		overflow-y: auto;
 		break-inside: avoid-column;
-- 
cgit v1.2.3

