Fixed search + workflow bugs

This commit is contained in:
Frikky
2024-06-27 12:00:43 +02:00
parent e4b261eb66
commit f6a2bf9f6a
12 changed files with 91 additions and 30 deletions
+2 -2
View File
@@ -80,7 +80,7 @@ const DiscordChat = props => {
event.preventDefault();
}
}}
placeholder="Search Discord Chats"
placeholder="Search Discord Chats..."
style={{ backgroundColor: theme.palette.inputColor, borderRadius: borderRadius, margin: 10, width: "100%", }}
InputProps={{
style: {
@@ -148,7 +148,7 @@ const DiscordChat = props => {
const CustomHits = connectHits(Hits);
return (
<div style={{ width: "100%", textAlign:"center", position: "relative", height: "100%", }}>
<div style={{textAlign:"center", position: "relative", height: "100%", padding:"0px 240px" }}>
<InstantSearch searchClient={searchClient} indexName="discord_chat">
<div style={{ maxWidth: 450, margin: "auto", marginTop: 15, marginBottom: 5, }}>
<CustomSearchBox />