mirror of
https://github.com/status-im/ETHReport.git
synced 2025-02-13 14:46:41 +00:00
search bar bottom spacing
This commit is contained in:
parent
122ef68de9
commit
14035aa6ff
@ -6,7 +6,10 @@ import './style.scss';
|
||||
const { publicRuntimeConfig } = getConfig();
|
||||
|
||||
const SearchBar = props => (
|
||||
<div className="search-bar" style={{ backgroundImage: `url(${publicRuntimeConfig.subDirPath}/static/img/header-bg.jpg)` }}>
|
||||
<div
|
||||
className={`search-bar ${props.isSearchActive ? 'search-active': ''}`}
|
||||
style={{ backgroundImage: `url(${publicRuntimeConfig.subDirPath}/static/img/header-bg.jpg)` }}
|
||||
>
|
||||
<div className="container">
|
||||
<h3 className="main-heading" style={{ backgroundImage: `url(${publicRuntimeConfig.subDirPath}/static/img/heading-textured-bg.jpg)` }}>
|
||||
Archives
|
||||
|
@ -5,7 +5,7 @@
|
||||
background-image: url('/static/img/header-bg.jpg');
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
margin-bottom: calculateRem(56);
|
||||
margin-bottom: calculateRem(40);
|
||||
height: calculateRem(164);
|
||||
padding-top: calculateRem(52);
|
||||
|
||||
@ -21,6 +21,10 @@
|
||||
margin-bottom: calculateRem(32);
|
||||
}
|
||||
}
|
||||
|
||||
&.search-active {
|
||||
margin-bottom: calculateRem(92);
|
||||
}
|
||||
}
|
||||
|
||||
.search-form {
|
||||
|
@ -1,9 +1,6 @@
|
||||
@import './assets/styles/global.scss';
|
||||
|
||||
.search-results {
|
||||
margin-top: calculateRem(32);
|
||||
|
||||
li {
|
||||
.search-results li {
|
||||
margin-bottom: calculateRem(32);
|
||||
|
||||
button {
|
||||
@ -59,7 +56,6 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.li-header {
|
||||
display: flex;
|
||||
|
Loading…
x
Reference in New Issue
Block a user