From e5c4d0b4eff8ec1322f2437fffc7b8fc48c6315f Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Tue, 4 Oct 2022 21:42:40 -0400 Subject: [PATCH] When a mail message takes up less than the full height of the reading pane, make it float to the top of the pane. Specified the grid element sizes in the grid instead of in the children. --- webcit-ng/static/css/webcit.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webcit-ng/static/css/webcit.css b/webcit-ng/static/css/webcit.css index 79fbea5cc..12e0ce39c 100644 --- a/webcit-ng/static/css/webcit.css +++ b/webcit-ng/static/css/webcit.css @@ -390,10 +390,10 @@ blockquote pre { width: 100%; height: 100%; background-color: GhostWhite; + grid-template-rows: 15vw 1fr; /* "1fr" means "all of the remaining space" */ } .ctdl-mailbox-pane { /* list of messages when in mailbox view */ - height: 15vw; overflow-x: hidden; overflow-y: scroll; background-color: #DDDDDD; -- 2.39.2