mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-29 05:00:43 +10:00
More space for text: n results. And some baselining
This commit is contained in:
parent
4f8f6c61d3
commit
3a168b882d
2 changed files with 12 additions and 2 deletions
|
|
@ -18,5 +18,13 @@
|
|||
@apply --marketplaceH4FontStyles;
|
||||
line-height: 20px;
|
||||
margin-top: 11px;
|
||||
margin-bottom: 13px;
|
||||
margin-bottom: 10px;
|
||||
|
||||
/* parent uses flexbox: this defines minimum width for text "6 results" */
|
||||
flex-basis: 55px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.resultsFound {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,9 @@ const SearchFiltersComponent = props => {
|
|||
const loadingResults = <FormattedMessage id="SearchFilters.loadingResults" />;
|
||||
|
||||
const resultsFound = (
|
||||
<FormattedMessage id="SearchFilters.foundResults" values={{ count: resultsCount }} />
|
||||
<span className={css.resultsFound}>
|
||||
<FormattedMessage id="SearchFilters.foundResults" values={{ count: resultsCount }} />
|
||||
</span>
|
||||
);
|
||||
|
||||
const noResults = <FormattedMessage id="SearchFilters.noResults" />;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue