Fix extra border

This commit is contained in:
Dan Abramov
2024-04-27 03:14:26 +01:00
parent 79fd2b69b2
commit bc00fb2345
+5 -1
View File
@@ -238,7 +238,11 @@ export function DesktopSearch() {
<SearchLinkCard
label={_(msg`Search for "${query}"`)}
to={`/search?q=${encodeURIComponent(query)}`}
style={{borderBottomWidth: 1}}
style={
queryMaybeHandle || (autocompleteData?.length ?? 0) > 0
? {borderBottomWidth: 1}
: undefined
}
/>
{queryMaybeHandle ? (