Skip to content

Commit

Permalink
chore(webapp): apply styles to cards
Browse files Browse the repository at this point in the history
  • Loading branch information
Torresmorah committed Mar 1, 2023
1 parent 9e84ac7 commit ad1c263
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions webapp/src/routes/Faucet/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ const Faucet = () => {
/>
</div>
)}
<div className={classes.button}>
<div>
<Button
type="submit"
variant="contained"
Expand Down Expand Up @@ -196,7 +196,7 @@ const Faucet = () => {
onChange={(e) => setAccount(e.target.value)}
/>
</div>
<div className={classes.button}>
<div>
<Button
type="submit"
variant="contained"
Expand Down
11 changes: 7 additions & 4 deletions webapp/src/routes/Faucet/styles.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
export default (theme) => ({
formControl: {
margin: theme.spacing(2),
display: 'flex',
flexDirection: 'column',
gap: theme.spacing(4),
},
test: {
display: 'flex',

[theme.breakpoints.down('md')]: {
display: 'block',
},
},
card: {
padding: '10px',
},
button: {
marginTop: '16px',
height: '100%',
'& .MuiPaper-root':{
boxShadow: '0px 1px 5px rgba(0, 0, 0, 0.15) !important',
}
},
})

0 comments on commit ad1c263

Please sign in to comment.