diff options
author | metamuffin <metamuffin@disroot.org> | 2025-05-18 19:46:16 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-05-18 19:46:16 +0200 |
commit | 51819226e6d4eb122d70b9b1897d6ce935434998 (patch) | |
tree | 305d9e83c02fe38756fa3c2e0e45407765e4f0f8 | |
parent | a9bfe40f63207f11cfcf50ba8ff6010e4377c134 (diff) | |
download | isda-51819226e6d4eb122d70b9b1897d6ce935434998.tar isda-51819226e6d4eb122d70b9b1897d6ce935434998.tar.bz2 isda-51819226e6d4eb122d70b9b1897d6ce935434998.tar.zst |
center lists
-rw-r--r-- | scripts/ytdlp_download.ts | 3 | ||||
-rw-r--r-- | src/style.css | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/scripts/ytdlp_download.ts b/scripts/ytdlp_download.ts index cc45367..f82e3b8 100644 --- a/scripts/ytdlp_download.ts +++ b/scripts/ytdlp_download.ts @@ -22,7 +22,6 @@ export class TextLineStream extends TransformStream<string, string> { } } - function key_to_url(key: string): string { const [kind, id] = key.split(":", 2) if (kind == "youtube") return `https://youtube.com/watch?v=${id}` @@ -77,7 +76,7 @@ ws.onerror = () => console.error("ws error") ws.onclose = () => console.error("ws closed") ws.onopen = () => { console.log("ws open"); - ws.send(JSON.stringify({ t: "register", name: "dummy worker", task_kinds: ["youtube"] })) + ws.send(JSON.stringify({ t: "register", name: "yt-dlp video downloader", task_kinds: ["youtube"] })) ws.send(JSON.stringify({ t: "accept" })) } ws.onmessage = async ev => { diff --git a/src/style.css b/src/style.css index 8ca6be1..4b30b32 100644 --- a/src/style.css +++ b/src/style.css @@ -55,6 +55,11 @@ border-color: #6e6eff; } +ul { + padding-left: 20px; + padding-right: 20px; +} + section.tasks { display: flex; width: 100%; |