fix mobile. trim
This commit is contained in:
1 parent
c987ba01b0
commit
e165ed8a24
3 files changed
+13
-4
No files matched your search
+1
-1
@@ -165,7 +165,7 @@ h1 {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ais-Hits-list {
|
.ais-Hits-list, .ais-InfiniteHits-list {
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+6
-3
@@ -25,6 +25,7 @@ const { searchClient } = instantMeiliSearch(
|
|||||||
{
|
{
|
||||||
finitePagination: false,
|
finitePagination: false,
|
||||||
placeholderSearch: true,
|
placeholderSearch: true,
|
||||||
|
attributesToSnippet: ['text:40'],
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -40,7 +41,9 @@ const placeholders = [
|
|||||||
'we are not the same',
|
'we are not the same',
|
||||||
'anarchy',
|
'anarchy',
|
||||||
'goblin',
|
'goblin',
|
||||||
'wise'
|
'wise',
|
||||||
|
'look inside',
|
||||||
|
'gorilla warfare',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
@@ -69,8 +72,8 @@ const App = () => (
|
|||||||
);
|
);
|
||||||
|
|
||||||
const Hit = ({ hit }) => (
|
const Hit = ({ hit }) => (
|
||||||
<div class="hit" key={hit.id}>
|
<div className="hit" key={hit.id}>
|
||||||
<a href={hit.url} class="img" target="_blank" rel="noreferrer">
|
<a href={hit.url} className="img" target="_blank" rel="noreferrer">
|
||||||
<img src={hit.url} alt={hit.text} />
|
<img src={hit.url} alt={hit.text} />
|
||||||
</a>
|
</a>
|
||||||
<div className="info">
|
<div className="info">
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
import "dotenv/config"
|
||||||
|
|
||||||
|
import createServices from "./services"
|
||||||
|
const { memes } = await createServices()
|
||||||
|
await memes.resetMeili();
|
||||||
|
|
||||||
Reference in new issue
Block a user