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/Tool.svelte | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

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

diff --git a/src/lib/Tools/Schedule/Tool.svelte b/src/lib/Tools/Schedule/Tool.svelte
index 56c02b1c..5fdbb526 100644
--- a/src/lib/Tools/Schedule/Tool.svelte
+++ b/src/lib/Tools/Schedule/Tool.svelte
@@ -21,6 +21,7 @@
 	import HoverCover from '$lib/Media/Cover/HoverCover.svelte';
 	import Crunchyroll from '$lib/Tools/Schedule/Crunchyroll.svelte';
 	import Loading from '$lib/Loading.svelte';
+	import './container.css';
 
 	let subsPleasePromise: Promise<SubsPlease>;
 	let scheduledMediaPromise: Promise<Partial<Media[]>>;
@@ -132,7 +133,7 @@
 			{#if scheduledMedia}
 				{@const columnCount = Math.ceil(Object.keys(subsPlease.schedule).length / 2)}
 
-				<div id="list-container" style={`column-count: ${columnCount}`}>
+				<div class="list-container" id="schedule" style={`column-count: ${columnCount}`}>
 					{#each Object.entries(shiftSubsPleaseSchedule(subsPlease.schedule)) as [day, scheduleEntry]}
 						<details
 							open
@@ -218,10 +219,6 @@
 <HoverCover options={hoverCoverState} width={300} />
 
 <style>
-	#list-container {
-		column-width: 250px;
-	}
-
 	.entry::after {
 		content: '';
 		display: table;
-- 
cgit v1.2.3

