From eb33db5d87b3db15125de52ec8eb5b5bb286c478 Mon Sep 17 00:00:00 2001 From: Graham Steffaniak Date: Mon, 4 Sep 2023 13:26:19 -0500 Subject: [PATCH] updated --- frontend/src/components/Search.vue | 6 +++--- frontend/src/css/mobile.css | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/Search.vue b/frontend/src/components/Search.vue index 8b78ca60..c3cfe898 100644 --- a/frontend/src/components/Search.vue +++ b/frontend/src/components/Search.vue @@ -144,6 +144,7 @@ #result-desktop>#result-list { max-height: 80vh; + width: 35em; overflow: scroll; padding-bottom: 1em; -webkit-transition: width 0.3s ease 0s; @@ -180,7 +181,7 @@ margin-right: .3em; } -#result-list.active { +#search #result-list.active { width: 65em !important; max-width: 85vw !important; } @@ -203,6 +204,7 @@ z-index:3; position: fixed; top: .5em; + min-width: 35em; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); @@ -212,13 +214,11 @@ background-color: rgba(100, 100, 100, 0.2); display: flex; height: 100%; - min-width: 35em; padding: 0em 0.75em; border-style: solid; border-radius: 1em; border-style: unset; border-width: 1px; - transition: 1s ease all; align-items: center; height: 3em; } diff --git a/frontend/src/css/mobile.css b/frontend/src/css/mobile.css index f758fe47..d592a166 100644 --- a/frontend/src/css/mobile.css +++ b/frontend/src/css/mobile.css @@ -65,7 +65,9 @@ width: 100%; max-width: 100%; } - + #search #input { + transition: 1s ease all; + } #search.active #input { border-bottom: 3px solid rgba(0, 0, 0, 0.075); box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);