Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit aab2328

Browse files
committedMar 19, 2020
style: responsive layout without minWidth
1 parent 4977b20 commit aab2328

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed
 

‎frontend/src/App.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ function App() {
4747

4848
return (
4949
<Box
50-
width="90%"
51-
minWidth="768px"
50+
width={["100%", "90%"]}
5251
maxWidth="1024px"
5352
margin="0 auto"
5453
bg="background"
@@ -96,7 +95,7 @@ function App() {
9695
<Dialog aria-label="Donate" isOpen={showDialog} onDismiss={close}>
9796
<Flex flexDirection="column">
9897
<Flex flexDirection="column" my={1}>
99-
<Heading color="black">Log in</Heading>
98+
<Heading>Log in</Heading>
10099
<form>
101100
<Box my={2} sx={{ "> input": { margin: 2 } }}>
102101
<Label htmlFor="email" fontSize={3}>
@@ -127,7 +126,7 @@ function App() {
127126
</form>
128127
</Flex>
129128
<form onSubmit={handleSubmit}>
130-
<Heading color="black">Make a contribution</Heading>
129+
<Heading>Make a contribution</Heading>
131130
<Flex flexDirection="column" my={1}>
132131
<Box>
133132
<Label htmlFor="percent" fontSize={3}>

0 commit comments

Comments
 (0)
Please sign in to comment.