From 39e3c899e202ae0c177e09083951f3da67805393 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 19 Jun 2019 15:42:00 +0200 Subject: templates: Expand search input on focus. * src/cuirass/templates.scm (html-page): Include CSS for widening the search input field on focus. --- src/cuirass/templates.scm | 1 + 1 file changed, 1 insertion(+) 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")) -- cgit v1.2.3