mirror of
https://gitlab.com/depesz/explain.depesz.com.git
synced 2025-02-21 19:48:37 +02:00
Bring back normal scrolling of results
More than one complaint about how it looked before.
This commit is contained in:
parent
cdca5b9703
commit
342f7c749a
@ -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}
|
||||
|
@ -2,7 +2,7 @@
|
||||
<meta charset="utf-8" />
|
||||
<title><%= title %> | explain.depesz.com</title>
|
||||
<link rel="stylesheet" href="<%= url_for '/' %>css/common.css?v=20220715" />
|
||||
<link rel="stylesheet" href="<%= url_for '/' %>css/<%= stash('style') // 'style' %>.css?v=20220715" />
|
||||
<link rel="stylesheet" href="<%= url_for '/' %>css/<%= stash('style') // 'style' %>.css?v=20221205" />
|
||||
<!--[if lt IE 9]>
|
||||
<script>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user