From 9328557a96585e698393aeae2a61dab8986766ae Mon Sep 17 00:00:00 2001 From: Hazem Krimi Date: Sun, 18 Oct 2020 19:49:41 +0100 Subject: [PATCH] Fix bug in search bar on mobile --- src/components/GlobalStyles.tsx | 1 - src/components/SearchBar.tsx | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/GlobalStyles.tsx b/src/components/GlobalStyles.tsx index 13da0e6..542d0ef 100644 --- a/src/components/GlobalStyles.tsx +++ b/src/components/GlobalStyles.tsx @@ -9,7 +9,6 @@ const GlobalStyles = createGlobalStyle` outline: none; font-family: 'Poppins'; color: #000000; - overflow: hidden; } `; diff --git a/src/components/SearchBar.tsx b/src/components/SearchBar.tsx index abc69fe..7aa5d5a 100644 --- a/src/components/SearchBar.tsx +++ b/src/components/SearchBar.tsx @@ -18,6 +18,7 @@ const Wrapper = styled.div` const Input = styled.input` border: none; border-radius: 5px; + overflow: hidden; &::placeholder { color: rgba(0, 0, 0, 0.5);