From 7f91837457f41ba66b0abb0016b1c1192c9d5364 Mon Sep 17 00:00:00 2001 From: Til Schmitter Date: Fri, 15 May 2026 23:19:42 +0200 Subject: [PATCH] try to fix the logout everywhere button again --- copyparty/web/browser.css | 2 ++ copyparty/web/browser.js | 4 ++-- copyparty/web/splash.css | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index 03952806..c4565677 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -3100,6 +3100,8 @@ html.c .modalcontent { } .modal.vis.unmodal { position: initial; + max-height: 50vh; + .modalcontent{ width: 100%; max-width: none; diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 35b9ca01..b1cc7147 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -1653,8 +1653,8 @@ function goto(dest) { clmod(document.documentElement, 'op_open', dest); // enables the use of keyboard page nav on modals - var a_modal = QS('.modal.vis'); - clmod(document.documentElement, 'noscroll', a_modal && window.getComputedStyle(a_modal).position == 'fixed'); + //var a_modal = QS('.modal.vis'); + //clmod(document.documentElement, 'noscroll', a_modal && window.getComputedStyle(a_modal).position == 'fixed'); if (treectl) treectl.onscroll(); diff --git a/copyparty/web/splash.css b/copyparty/web/splash.css index 57f28344..fdcaaf74 100644 --- a/copyparty/web/splash.css +++ b/copyparty/web/splash.css @@ -102,7 +102,7 @@ a { } #lo { padding: 0 .6em; - height: 1.6em; + line-height: 1.8em; border-width: 0 0 2px 0; } #lo:hover, #lo:focus-visible,