commit 55e389c24cee059be9b2cb93c65dbd1effcc6c68
parent 8a0ecf1b9657f86a9287d0131e7d835f51128483
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Sat, 29 Mar 2025 16:58:57 +0100
feat: simplify design of buttons
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/assets/css/custom.css b/assets/css/custom.css
@@ -19,7 +19,7 @@
min-height: 800px;
border: 0;
margin: 0px;
- background-color: var(--accent);
+ background-color: var(--bg);
}
details {
width: 100% !important;
diff --git a/assets/js/twitch.js b/assets/js/twitch.js
@@ -178,7 +178,7 @@ function tw2html_toggle_chat(stream) {
// Create chat iframe
var chat = document.createElement("iframe");
- chat.id = "chat-" + stream;
+ chat.id = "chat_" + stream;
chat.width = "100%";
chat.height = "100%";
chat.frameborder = "0";
diff --git a/index.php b/index.php
@@ -162,7 +162,7 @@
<!-- Chat Collapsable -->
- <details class="button">
+ <details>
<summary onclick="tw2html_toggle_chat('<?php echo $stream; ?>');">
Chat
</summary>