Added padding to search tab to maintain visual consistancy

(cherry picked from commit 55ef505d740a9aadc7f161274006e150b0d9cf8f)
pull/2604/head
Tristan Kennedy 3 years ago committed by Bogdan
parent 9ec913337d
commit 3a3cf8511e

@ -7,3 +7,9 @@
.filteredMessage { .filteredMessage {
margin-top: 10px; margin-top: 10px;
} }
.blankpad {
padding-top: 10px;
padding-bottom: 10px;
padding-left: 2em;
}

@ -1,6 +1,7 @@
// This file is automatically generated. // This file is automatically generated.
// Please do not change this file! // Please do not change this file!
interface CssExports { interface CssExports {
'blankpad': string;
'filterMenuContainer': string; 'filterMenuContainer': string;
'filteredMessage': string; 'filteredMessage': string;
} }

@ -104,7 +104,7 @@ function InteractiveSearch(props) {
{ {
!isFetching && error ? !isFetching && error ?
<div> <div className={styles.blankpad}>
Unable to load results for this book search. Try again later Unable to load results for this book search. Try again later
</div> : </div> :
null null
@ -112,7 +112,7 @@ function InteractiveSearch(props) {
{ {
!isFetching && isPopulated && !totalReleasesCount ? !isFetching && isPopulated && !totalReleasesCount ?
<div> <div className={styles.blankpad}>
No results found No results found
</div> : </div> :
null null
@ -120,7 +120,7 @@ function InteractiveSearch(props) {
{ {
!!totalReleasesCount && isPopulated && !items.length ? !!totalReleasesCount && isPopulated && !items.length ?
<div> <div className={styles.blankpad}>
All results are hidden by the applied filter All results are hidden by the applied filter
</div> : </div> :
null null

Loading…
Cancel
Save