From cd900c6aac03b259628d7f5df5e4e14039c68ed7 Mon Sep 17 00:00:00 2001 From: Sergey Yarkov Date: Wed, 15 Jul 2020 20:11:03 +0300 Subject: [PATCH] margin --- src/components/Articles/Search/Search.js | 1 - src/styles/global.scss | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/Articles/Search/Search.js b/src/components/Articles/Search/Search.js index 654c276..b2ec79d 100644 --- a/src/components/Articles/Search/Search.js +++ b/src/components/Articles/Search/Search.js @@ -10,7 +10,6 @@ const Search = ({ allArticles, filterArticles, articlesLength, resultsLength, qu setQuery('') return null } - navigate(`/articles/?search=${query.trim()}`) setQuery(query) setFiltredArticles(filterArticles(allArticles)) diff --git a/src/styles/global.scss b/src/styles/global.scss index 5763a7c..88c05b5 100644 --- a/src/styles/global.scss +++ b/src/styles/global.scss @@ -160,7 +160,7 @@ html { body { font-family: 'Inter', sans-serif; margin: 0; - margin-top: 122px; + margin-top: 95px; display: flex; height: 85%; flex-direction: column;