Skip to content

Commit

Permalink
Merge pull request #21 from moh-kenya/feat-align-homepage
Browse files Browse the repository at this point in the history
Adjust responsiveness of search bar in homepage
  • Loading branch information
rosaga authored Feb 1, 2024
2 parents 307d5e9 + 46d1dd0 commit 71a9534
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ export default function Home() {
style={{ backgroundColor: "#1651B6" }}
borderRadius={"8px"}
sx={{
flexGrow: 1,
display: 'flex',
flexDirection: "column",
alignItems: 'center',
justifyContent: 'center',
px: { xs: "1em", md: "3em" },
py: { xs: "2em", md: "4em" },
}}
Expand All @@ -90,7 +92,7 @@ export default function Home() {
marginBottom={"5px"}
color={"#fff"}
>
Kenya National Health Terminology Services
Kenya National Health Terminology Services
</Typography>
<Typography
variant="h4"
Expand All @@ -107,7 +109,7 @@ export default function Home() {
healthcare activities in Kenya.
</Typography>
</Box>
<Box width={"30%"} sx={{ display: "flex" }} noValidate>
<Box width={{ sm : "70%" , md: "30%"}} sx={{ display: "flex" }} noValidate>
<TextField
onChange={(e) => setSearchTerm(e.target.value)}
sx={{
Expand Down

0 comments on commit 71a9534

Please sign in to comment.