From 4f65d9382ffdf3d570e5e189ab52bd2b149091bd Mon Sep 17 00:00:00 2001 From: Jim Bumgardner Date: Mon, 5 Aug 2024 14:34:47 -0700 Subject: [PATCH 1/4] Make search visible on mobile devices. --- src/css/index.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/css/index.scss b/src/css/index.scss index dba90069..56913c03 100644 --- a/src/css/index.scss +++ b/src/css/index.scss @@ -236,4 +236,15 @@ table.table-bordered { border: none; } } +} + +/* override search settings for mobile */ +@media only screen and (max-width: 767px) { + .site-header .container .search-container { + display: block; + } + + .site-header .grid-search { + grid-area: inherit; + } } \ No newline at end of file From 6c0ec14199f5bf04ea18c417177ac485e9a681f1 Mon Sep 17 00:00:00 2001 From: Jim Bumgardner Date: Fri, 9 Aug 2024 13:46:22 -0700 Subject: [PATCH 2/4] Add search icon to mobile. --- pages/_includes/site-header.njk | 9 +++++++++ src/css/index.scss | 14 +++++++++----- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/pages/_includes/site-header.njk b/pages/_includes/site-header.njk index 60a33165..70d414f1 100644 --- a/pages/_includes/site-header.njk +++ b/pages/_includes/site-header.njk @@ -14,6 +14,15 @@