chore: Update form styling and card loader width
This commit is contained in:
parent
b136e841f5
commit
19cdff0c6b
|
@ -60,7 +60,7 @@ export default function Home() {
|
||||||
)}
|
)}
|
||||||
<form
|
<form
|
||||||
onSubmit={handleSubmit}
|
onSubmit={handleSubmit}
|
||||||
style={{ width: "100%", maxWidth: "700px" }}
|
style={{ width: "100%", maxWidth: "700px", paddingBottom: "16px" }}
|
||||||
>
|
>
|
||||||
<Input
|
<Input
|
||||||
placeholder="Type something..."
|
placeholder="Type something..."
|
||||||
|
@ -89,6 +89,7 @@ export default function Home() {
|
||||||
loadMore={loadMore}
|
loadMore={loadMore}
|
||||||
hasMore={cardsDisplayed.length < cards.length}
|
hasMore={cardsDisplayed.length < cards.length}
|
||||||
loader={<CircularProgress />}
|
loader={<CircularProgress />}
|
||||||
|
style={{ width: "100%" }}
|
||||||
>
|
>
|
||||||
<Grid container spacing={2} sx={{ flexGrow: 1 }} key="cardGrid">
|
<Grid container spacing={2} sx={{ flexGrow: 1 }} key="cardGrid">
|
||||||
{cardsDisplayed.map((card) => (
|
{cardsDisplayed.map((card) => (
|
||||||
|
|
Loading…
Reference in New Issue