From ce47e04191ca0a03d2761c50e933ad466093f150 Mon Sep 17 00:00:00 2001 From: Leon Xu Date: Sat, 3 Sep 2022 11:53:35 -0700 Subject: [PATCH] doc: add searchContainer and input styles into the stylesheet --- src/components/Search/styles.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/components/Search/styles.js b/src/components/Search/styles.js index e69de29..03682b2 100644 --- a/src/components/Search/styles.js +++ b/src/components/Search/styles.js @@ -0,0 +1,19 @@ +import { makeStyles } from '@mui/styles'; + +export default makeStyles((theme) => ({ + searchContainer: { + [theme.breakpoints.down('sm')]: { + display: 'flex', + justifyContainer: 'center', + width: '100%', + }, + }, + input: { + color: theme.palette.mode === 'light' && 'dark', + filter: theme.palette.mode === 'light' && 'invert(1)', + [theme.breakpoints.down('sm')]: { + marginTop: '-10px', + marginBottom: '10px', + }, + }, +}));