New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1664 ui make homepage mobile friendly #1692
Changes from 9 commits
ae0c45d
b7029b5
caa7410
6443d44
565ed6f
947352f
fc3cebf
49eb952
cc16f69
716d2b2
acb26a2
39bdfae
f450b50
63f804f
faea32d
4506a7a
2b654ab
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,9 @@ import SignInDialog from '../SignInDialog'; | |
[theme.breakpoints.down('sm')]: { | ||
marginBottom: theme.spacing.double, | ||
}, | ||
'@media (max-width: 400px)': { | ||
fontSize: '40px', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
}, | ||
}, | ||
actions: { | ||
marginTop: theme.spacing.triple, | ||
|
@@ -34,6 +37,11 @@ import SignInDialog from '../SignInDialog'; | |
fill: theme.palette.common.white, | ||
marginRight: theme.spacing.unit, | ||
}, | ||
text: { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Rename class to |
||
'@media (max-width: 400px)': { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See other comment. |
||
fontSize: '20px', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
}, | ||
}, | ||
})) | ||
export default class HomePage extends Component { | ||
state = { | ||
|
@@ -64,7 +72,7 @@ export default class HomePage extends Component { | |
{window.env.APPLICATION_NAME} | ||
</Typography> | ||
</Hidden> | ||
<Typography variant="h5"> | ||
<Typography variant="h5" className={classes.text}> | ||
{ | ||
"A task execution framework that supports Mozilla's continuous integration and release processes." | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use material-ui breakpoints instead of hard-coding width values. See line above for an example.