Merge branch 'hide-search-tabs' into 'develop'
Don't display search tabs until there are results See merge request soapbox-pub/soapbox-fe!658
This commit is contained in:
commit
5aec1cc8e8
2 changed files with 4 additions and 2 deletions
|
@ -75,7 +75,7 @@ export default class SearchResults extends ImmutablePureComponent {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<FilterBar selectedFilter={submitted ? selectedFilter : null} selectFilter={this.handleSelectFilter} />
|
{submitted && <FilterBar selectedFilter={submitted ? selectedFilter : null} selectFilter={this.handleSelectFilter} />}
|
||||||
|
|
||||||
{searchResults}
|
{searchResults}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
.search-page {
|
.search-page {
|
||||||
min-height: 97px;
|
.drawer__inner:not(:empty) {
|
||||||
|
min-height: 48px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 600px + (285px * 1) + (10px * 1)) {
|
@media screen and (min-width: 600px + (285px * 1) + (10px * 1)) {
|
||||||
|
|
Loading…
Reference in a new issue