From 19631c6a37029a676367bb0843fa462b3533ec05 Mon Sep 17 00:00:00 2001 From: Hannu Lyytikainen Date: Thu, 12 Oct 2017 11:21:50 +0300 Subject: [PATCH] Change mobile search results top bar to be sticky --- src/containers/SearchPage/SearchPage.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/containers/SearchPage/SearchPage.css b/src/containers/SearchPage/SearchPage.css index 9a326e2c..05412898 100644 --- a/src/containers/SearchPage/SearchPage.css +++ b/src/containers/SearchPage/SearchPage.css @@ -61,7 +61,15 @@ .searchResultSummaryMobile { display: flex; justify-content: space-between; - margin: 8px 24px 14px 24px; + + background-color: var(--matterColorBright); + width: 100vw; + padding: 8px 24px 14px 24px; + + /* sticky result summary in mobile */ + position: sticky; + top: 0; + z-index: 9; @media (--viewportMedium) { display: none;