Merge branch 'trends-spacing' into 'develop'

Fix spacing between hashtags

See merge request soapbox-pub/soapbox-fe!1580
pgp^2
Justin 2022-06-27 18:51:03 +00:00
commit adf4789317
1 zmienionych plików z 6 dodań i 3 usunięć

Wyświetl plik

@ -98,12 +98,12 @@ const SearchResults = () => {
if (results.statuses && results.statuses.size > 0) {
searchResults = results.statuses.map((statusId: string) => (
// @ts-ignore
// @ts-ignore
<StatusContainer key={statusId} id={statusId} />
));
} else if (!submitted && trendingStatuses && !trendingStatuses.isEmpty()) {
searchResults = trendingStatuses.map((statusId: string) => (
// @ts-ignore
// @ts-ignore
<StatusContainer key={statusId} id={statusId} />
));
} else if (loaded) {
@ -158,7 +158,10 @@ const SearchResults = () => {
className={classNames({
'divide-gray-200 dark:divide-slate-700 divide-solid divide-y': selectedFilter === 'statuses',
})}
itemClassName={classNames({ 'pb-4': selectedFilter === 'accounts' })}
itemClassName={classNames({
'pb-4': selectedFilter === 'accounts',
'pb-3': selectedFilter === 'hashtags',
})}
>
{searchResults || []}
</ScrollableList>