diff options
| author | Fuwn <[email protected]> | 2024-01-08 23:45:57 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-01-08 23:45:57 -0800 |
| commit | 5120f53ef2ec94ddcf3a0b9aff413e55705c0ac8 (patch) | |
| tree | f5d768c870282cb3b274f57eb9dd711e7b689818 /src/lib/Tools/Schedule/Crunchyroll.svelte | |
| parent | fix(hovercover): correct image flip when scrolled (diff) | |
| download | due.moe-5120f53ef2ec94ddcf3a0b9aff413e55705c0ac8.tar.xz due.moe-5120f53ef2ec94ddcf3a0b9aff413e55705c0ac8.zip | |
refactor(schedule): unique ids
Diffstat (limited to 'src/lib/Tools/Schedule/Crunchyroll.svelte')
| -rw-r--r-- | src/lib/Tools/Schedule/Crunchyroll.svelte | 8 |
1 files changed, 2 insertions, 6 deletions
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; |