From 4743c3939f86a7a5ad6da47346c18cab4df795f4 Mon Sep 17 00:00:00 2001 From: Djordje Vlaisavljevic Date: Wed, 6 Jul 2022 15:41:25 +0200 Subject: [PATCH] Switched breakpoint from md to sm --- .../sodo-search/src/components/PopupModal.js | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/ghost/sodo-search/src/components/PopupModal.js b/ghost/sodo-search/src/components/PopupModal.js index bedfe15eb2..eda288be4f 100644 --- a/ghost/sodo-search/src/components/PopupModal.js +++ b/ghost/sodo-search/src/components/PopupModal.js @@ -131,9 +131,9 @@ function SearchBox() { }; }, [dispatch]); - let className = 'z-10 relative flex items-center py-5 px-4 md:px-7 mt-10 md:mt-0 bg-white rounded-t-lg shadow'; + let className = 'z-10 relative flex items-center py-5 px-4 sm:px-7 mt-10 sm:mt-0 bg-white rounded-t-lg shadow'; if (!searchValue) { - className = 'z-10 relative flex items-center py-5 px-4 md:px-7 mt-10 md:mt-0 bg-white rounded-lg'; + className = 'z-10 relative flex items-center py-5 px-4 sm:px-7 mt-10 sm:mt-0 bg-white rounded-lg'; } return ( @@ -151,7 +151,7 @@ function SearchBox() { placeholder='Search posts, tags, authors..' /> - + ); } @@ -179,7 +179,7 @@ function TagListItem({tag}) { const {name, url} = tag; return (
{ if (url) { window.location.href = url; @@ -206,7 +206,7 @@ function TagResults({tags}) { ); }); return ( -
+

Tags

{TagItems}
@@ -216,7 +216,7 @@ function TagResults({tags}) { function PostListItem({post}) { const {title, excerpt, url} = post; return ( -
{ +
{ if (url) { window.location.href = url; } @@ -249,7 +249,7 @@ function PostResults({posts}) { ); }); return ( -
+

Posts

{PostItems} @@ -261,7 +261,7 @@ function AuthorListItem({author}) { const {name, profile_image: profileImage, url} = author; return (
{ if (url) { window.location.href = url; @@ -302,7 +302,7 @@ function AuthorResults({authors}) { }); return ( -
+

Authors

{AuthorItems}
@@ -381,7 +381,7 @@ function Search() { } }} > -
+