From 3e2d68fed124723c6874a681372fd8ad0291e463 Mon Sep 17 00:00:00 2001 From: Lanie Hei Date: Sun, 7 Jun 2020 14:10:45 -0500 Subject: [PATCH 1/2] Adds link and modal to the search help --- public/images/questionmark.svg | 5 +++ public/index.html | 17 ++++++++- src/index.js | 22 +++++++++++ src/styles/styles.css | 67 ++++++++++++++++++++++++++++++++-- 4 files changed, 107 insertions(+), 4 deletions(-) create mode 100644 public/images/questionmark.svg diff --git a/public/images/questionmark.svg b/public/images/questionmark.svg new file mode 100644 index 0000000..25b3308 --- /dev/null +++ b/public/images/questionmark.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/public/index.html b/public/index.html index 0127b3f..f0e52da 100644 --- a/public/index.html +++ b/public/index.html @@ -39,7 +39,10 @@

Twin Cities Aid Map

- + + + + question mark Need Help with Search Examples?
@@ -56,6 +59,18 @@

Twin Cities Aid Map

See this data in Google Sheets.

Learn about this project on GitHub.

+
diff --git a/src/styles/styles.css b/src/styles/styles.css index bcafcf8..0b326bd 100644 --- a/src/styles/styles.css +++ b/src/styles/styles.css @@ -369,7 +369,7 @@ input[type='checkbox'] + label { @media only screen and (max-width: 920px) { .help-search { width: 40%; - height: 40%; + height: 50%; /* keep it on the map */ right: 10%; @@ -424,9 +424,9 @@ input[type='checkbox'] + label { .help-search { display:flex; flex-direction:column; - width: 50%; - height: 45%; - left: 25%; + width: 60%; + height: 60%; + left: 20%; /* keep it on the map */ top: 34%;