summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-06-19 15:42:00 +0200
committerRicardo Wurmus <rekado@elephly.net>2019-06-19 15:42:00 +0200
commit39e3c899e202ae0c177e09083951f3da67805393 (patch)
tree6466e360eb52f9425c4b1dbfb76287acf4454d8a
parent219506d5f9769f8c36e7f3fea9ac935b4363e005 (diff)
downloadcuirass-39e3c899e202ae0c177e09083951f3da67805393.tar
cuirass-39e3c899e202ae0c177e09083951f3da67805393.tar.gz
templates: Expand search input on focus.
* src/cuirass/templates.scm (html-page): Include CSS for widening the search input field on focus.
-rw-r--r--src/cuirass/templates.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cuirass/templates.scm b/src/cuirass/templates.scm
index 6fa8643..9ebdd2e 100644
--- a/src/cuirass/templates.scm
+++ b/src/cuirass/templates.scm
@@ -80,6 +80,7 @@
(href "/static/css/bootstrap.css")))
(link (@ (rel "stylesheet")
(href "/static/css/open-iconic-bootstrap.css")))
+ (style "#search input:focus { width: 500px; }")
(title ,title))
(body
(nav (@ (class "navbar navbar-expand navbar-light bg-light"))