summaryrefslogtreecommitdiff
path: root/ext/css/display.css
diff options
context:
space:
mode:
authorKuuuube <61125188+Kuuuube@users.noreply.github.com>2024-06-24 14:05:59 -0400
committerGitHub <noreply@github.com>2024-06-24 18:05:59 +0000
commitb884ec8295fbb75b338cfaf75911268fc89ec36a (patch)
treec264fcab2609815d88f93aa52381a4236870760c /ext/css/display.css
parent6cd88b8f4b3a3355bba52726633e0b145bec1af6 (diff)
Make search sizing more sensible due to search textbox and query now being sticky (#1127)24.6.24.0
* Move search height into variables * Lock max query height to roughly 2-2.5 lines * Reduce search textbox max height to 5 lines
Diffstat (limited to 'ext/css/display.css')
-rw-r--r--ext/css/display.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/css/display.css b/ext/css/display.css
index 68f7bf11..4923318a 100644
--- a/ext/css/display.css
+++ b/ext/css/display.css
@@ -605,6 +605,7 @@ button.sidebar-button.sidebar-button-highlight {
margin-top: 0.5em;
font-size: var(--query-parser-font-size);
white-space: pre-wrap;
+ max-height: calc(var(--query-parser-font-size) * 2);
}
#query-parser-content[data-term-spacing=true] .query-parser-term {
margin-right: 0.2em;