Update Cards and SearchSingle, AnimeSearchSingle (#22)

added margin to show the rounded corners of each cards
added styling to the search ( searching in sources )
This commit is contained in:
voltrare
2021-09-07 05:08:54 +08:00
committed by GitHub
parent a22e174560
commit 7710c287c5
8 changed files with 38 additions and 8 deletions

View File

@@ -16,6 +16,10 @@ import client from 'util/client';
const useStyles = makeStyles((theme) => ({
root: {
margin: '20px 10px',
display: 'flex',
justifyContent: 'space-around',
width: '300px',
TextField: {
margin: theme.spacing(1),
width: '25ch',
@@ -95,7 +99,9 @@ export default function AnimeSearchSingle() {
<TextField
inputRef={textInput}
error={error}
id="standard-basic"
id="filled-basic"
variant="filled"
size="small"
label="Search text.."
onKeyDown={(e) => e.key === 'Enter' && processInput()}
/>