Skip to content

Commit

Permalink
feat: improve mobile compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
rickstaa committed Sep 20, 2022
1 parent fc74f62 commit 4bc21ea
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const Footer = () => {
return (
<Grid container>
<Grid item pt={1} pb={1}>
<Typography variant="caption" align="center">
<Typography variant="caption" align="center" pl={1} pr={1}>
Created with{" "}
<Link
href="https://github.com/missive/emoji-mart"
Expand Down
16 changes: 11 additions & 5 deletions src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,15 @@ export const Header = () => {
alignItems="center"
>
<Grid item>
<Grid container direction="row" spacing={1} mt={1}>
<Grid
container
direction="row"
spacing={1}
mt={1}
justifyContent="center"
>
<Grid item>
<Typography variant="h4" gutterBottom>
<Typography variant="h4" gutterBottom align="center">
GitHub Emoji Picker
</Typography>
</Grid>
Expand All @@ -35,12 +41,12 @@ export const Header = () => {
</Grid>
</Grid>
<Grid item>
<Typography variant="subtitle1">
<Typography variant="subtitle1" align="center" pl={1} pr={1}>
A simple emotion picker that displays all the supported GitHub emojis.
</Typography>
</Grid>
<Grid item>
<Grid container spacing={2} pt={1} pb={1}>
<Grid container spacing={2} pt={1} pb={1} justifyContent="center">
<Grid item>
<GitHubButton
href="https://github.com/rickstaa/github-emoji-picker"
Expand Down Expand Up @@ -93,7 +99,7 @@ export const Header = () => {
<ThemeSwitch checked={mode !== "dark"} onClick={toggleMode} />
</Grid>
<Grid item>
<Typography variant="caption">
<Typography variant="caption" align="center" pl={1} pr={1}>
Switch to your preferred theme.
</Typography>
</Grid>
Expand Down

1 comment on commit 4bc21ea

@vercel
Copy link

@vercel vercel bot commented on 4bc21ea Sep 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.