From 342f7c749a66569aafe0e598668fb3b52d275a76 Mon Sep 17 00:00:00 2001 From: Hubert depesz Lubaczewski Date: Mon, 5 Dec 2022 12:20:55 +0100 Subject: [PATCH] Bring back normal scrolling of results More than one complaint about how it looked before. --- public/css/style.css | 5 ----- templates/includes/layout_head.html.ep | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/public/css/style.css b/public/css/style.css index 0cd240d..3ce6772 100755 --- a/public/css/style.css +++ b/public/css/style.css @@ -92,14 +92,9 @@ div.explain-form a:hover {background:#e5ecf9} *:first-child+html #explain-form input {border:0} .result-text, .result-source, .result-html, .result-stats, .result-hints {margin:0;padding:0;border:1px solid #ccc;overflow:auto} - .result-html { - max-height: calc(100vh - 250px) - } .res-tab>pre>code { width: calc(100% - 15px); top: 0; left: 0; - max-height: calc(100vh - 250px); - overflow: scroll; } /* all ico(ns) */ .result-html table#explain td.n div.ico {position:absolute;top:-4px;left:-22px;width:22px;height:22px;background:url('../img/sprite.png') no-repeat 0px -180px;text-indent:-1000px;overflow:hidden} diff --git a/templates/includes/layout_head.html.ep b/templates/includes/layout_head.html.ep index 35557be..c249a0c 100755 --- a/templates/includes/layout_head.html.ep +++ b/templates/includes/layout_head.html.ep @@ -2,7 +2,7 @@ <%= title %> | explain.depesz.com - +