diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2020-03-31 09:07:20 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2020-03-31 09:07:20 +0200 |
commit | dded2bac781aa3ca6d8a5944bcd70da566e62b1d (patch) | |
tree | b252fa4584f84107ca6d014d26aff3bfc806047d | |
parent | 5c9f9ad6dec2eff57a297c79623508b5d9d99835 (diff) |
view/html: Hide search hint by default.
-rw-r--r-- | assets/css/screen.css | 2 | ||||
-rw-r--r-- | mumi/web/view/html.scm | 47 |
2 files changed, 25 insertions, 24 deletions
diff --git a/assets/css/screen.css b/assets/css/screen.css index 4aedb40..d981818 100644 --- a/assets/css/screen.css +++ b/assets/css/screen.css @@ -49,7 +49,7 @@ p + p { } .card-body form { - padding-bottom: 2em; + padding-bottom: 1em; } thead { diff --git a/mumi/web/view/html.scm b/mumi/web/view/html.scm index 40605de..ca77476 100644 --- a/mumi/web/view/html.scm +++ b/mumi/web/view/html.scm @@ -154,29 +154,30 @@ (@ (class "card mb-5")) (div (@ (class "card-body bg-light")) ,(search-form #:standalone? #t) - (p (@ (class "card-text")) - (strong "Hint: ") - "Refine your search with filters like " - (span (@ (class "filter")) - "is:open") - ", " - (span (@ (class "filter")) - "author:me") - ", " - (span (@ (class "filter")) - "submitter:me") - ", " - (span (@ (class "filter")) - "date:yesterday..now") - ", " - (span (@ (class "filter")) - "date:2018-04-01..2018-04-02") - ", " - (span (@ (class "filter")) - "date:1m..today") - ", and " - (a (@ (href "help#search")) - "many more!")))) + (details + (summary (strong "Hint")) + (p + "Refine your search with filters like " + (span (@ (class "filter")) + "is:open") + ", " + (span (@ (class "filter")) + "author:me") + ", " + (span (@ (class "filter")) + "submitter:me") + ", " + (span (@ (class "filter")) + "date:yesterday..now") + ", " + (span (@ (class "filter")) + "date:2018-04-01..2018-04-02") + ", " + (span (@ (class "filter")) + "date:1m..today") + ", and " + (a (@ (href "help#search")) + "many more!"))))) (h1 "Issues of interest") (table (@ (class "table table-condensed table-sm table-hover")) (thead |