From 8ba695c21def71c7db3092b27e3e1ba0e575dec9 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Thu, 19 Aug 2021 15:19:10 -0700 Subject: [PATCH 1/2] Adds max height to modals so they don't disappear on small screens --- bookwyrm/static/css/bookwyrm.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bookwyrm/static/css/bookwyrm.css b/bookwyrm/static/css/bookwyrm.css index 6eb068ab..f945b869 100644 --- a/bookwyrm/static/css/bookwyrm.css +++ b/bookwyrm/static/css/bookwyrm.css @@ -28,6 +28,9 @@ body { .modal-card.is-fullwidth { min-width: 75% !important; } +.modal-card-body { + max-height: 70vh; +} .clip-text { max-height: 35em; From 451cb38c6c788a7e9f8f393821af47f953f25889 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Thu, 19 Aug 2021 15:33:23 -0700 Subject: [PATCH 2/2] Linter fix --- bookwyrm/static/css/bookwyrm.css | 1 + 1 file changed, 1 insertion(+) diff --git a/bookwyrm/static/css/bookwyrm.css b/bookwyrm/static/css/bookwyrm.css index f945b869..0724c7f1 100644 --- a/bookwyrm/static/css/bookwyrm.css +++ b/bookwyrm/static/css/bookwyrm.css @@ -28,6 +28,7 @@ body { .modal-card.is-fullwidth { min-width: 75% !important; } + .modal-card-body { max-height: 70vh; }