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:
@@ -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()}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user