From f51a3d5fe474dbc4af3e8dfb945044f4827b9264 Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Sat, 4 Dec 2021 13:26:29 -0300 Subject: [PATCH] IE6 stylesheet: Limit height of div.scroll --- assets/css/style-reduced.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/css/style-reduced.css b/assets/css/style-reduced.css index 9ab47a3..43f93af 100644 --- a/assets/css/style-reduced.css +++ b/assets/css/style-reduced.css @@ -92,7 +92,7 @@ span.emoji { display: none; } div.scroll { - max-height: 500px; + height: expression(Math.min(document.documentElement.clientHeight - 20, 500) + "px"); padding-right: 1px; overflow-y: scroll; }