From 090981860c28d23cbd2581424e9af9a187371c00 Mon Sep 17 00:00:00 2001 From: n9k Date: Wed, 16 Feb 2022 21:42:28 +0000 Subject: [PATCH] Add css rules for hiding chat --- anonstream/static/style.css | 9 ++++++--- anonstream/templates/home.html | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/anonstream/static/style.css b/anonstream/static/style.css index ffe6105..463bb14 100644 --- a/anonstream/static/style.css +++ b/anonstream/static/style.css @@ -234,9 +234,6 @@ footer { #toggle { display: none; } - #stream { - height: var(--video-height); - } #info { display: block; } @@ -246,4 +243,10 @@ footer { border-left: var(--chat-border); min-height: 100%; } + #nochat:target { + --chat-width: 0px; + } + #nochat:target #chat { + display: none; + } } diff --git a/anonstream/templates/home.html b/anonstream/templates/home.html index 85f2557..f51cbc7 100644 --- a/anonstream/templates/home.html +++ b/anonstream/templates/home.html @@ -1,5 +1,5 @@ - +