From 65b56fbda0bf201837cd8927e6c0578a983b44f2 Mon Sep 17 00:00:00 2001 From: ninya9k Date: Fri, 16 Apr 2021 12:28:41 +0000 Subject: [PATCH] manual refresh banner in list of users --- website/static/platform.css | 5 +-- website/templates/chat-iframe.html | 51 ++++++++++++++++++++--------- website/templates/index.html | 22 +++++++++---- website/templates/users-iframe.html | 37 ++++++++++++++++++++- 4 files changed, 90 insertions(+), 25 deletions(-) diff --git a/website/static/platform.css b/website/static/platform.css index 4b2618e..e4c1407 100644 --- a/website/static/platform.css +++ b/website/static/platform.css @@ -15,7 +15,8 @@ height: calc(100vw * 9 / 16); } #chat-window iframe { - height: calc(100vh - (100vw * 9 / 16 + 20em)); + height: calc(100vh - (100vw * 9 / 16 + 20.5em)); + margin-bottom: 0.5em; min-height: 12em; } #chat { @@ -72,7 +73,7 @@ form[target="users"] { } @media screen and (min-width:48em) { #chat-window iframe { - height: calc(100vh - 1px - 10em); + height: calc(100vh - 1px - 10.5em); } #stream { height: calc(100vw * 2 / 3 * 9 / 16); /* 16:9 video taking up 2/3 of the page horizontally */ diff --git a/website/templates/chat-iframe.html b/website/templates/chat-iframe.html index 7fa0a34..ddd7722 100644 --- a/website/templates/chat-iframe.html +++ b/website/templates/chat-iframe.html @@ -4,8 +4,9 @@ {% if not debug %}{% endif %} @@ -97,10 +113,14 @@ {% endif %} -
Manual refresh required
+
Manual refresh required
{% if include_user_list %} -