From e5582605cd61e9fe0b81523a316c6a2ada3b338a Mon Sep 17 00:00:00 2001 From: ed Date: Sat, 24 Feb 2024 21:22:55 +0000 Subject: [PATCH] fix md-editor preview on small screens; the left side of the preview pane would go off-screen --- copyparty/web/md2.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copyparty/web/md2.css b/copyparty/web/md2.css index f06d0bb8..af6139ab 100644 --- a/copyparty/web/md2.css +++ b/copyparty/web/md2.css @@ -9,7 +9,7 @@ width: calc(100% - 56em); } #mw { - left: calc(100% - 55em); + left: max(0em, calc(100% - 55em)); overflow-y: auto; position: fixed; bottom: 0;