Aligns AccountView to top of page

This commit is contained in:
Andrew Nicolaou 2019-05-14 19:50:54 +02:00 committed by Cassie Tarakajian
parent 504eacaf64
commit ed87d4cd26
3 changed files with 6 additions and 2 deletions

View file

@ -44,7 +44,7 @@ function TokenMetadataList({ tokens, onRemove }) {
);
const newKeyValue = v.token && (
<tr key={v.id}>
<tr key={`${v.id}-newKey`}>
<td colSpan="4">
<NewTokenDisplay token={v.token} />
</td>

View file

@ -38,7 +38,7 @@ class AccountView extends React.Component {
render() {
return (
<section className="account form-container">
<section className="form-container form-container--align-top">
<Helmet>
<title>p5.js Web Editor | Account</title>
</Helmet>

View file

@ -6,6 +6,10 @@
align-items: center;
}
.form-container--align-top {
height: unset;
}
.form-container__header {
width: 100%;
padding: #{15 / $base-font-size}rem #{34 / $base-font-size}rem;