Aligns AccountView to top of page
This commit is contained in:
parent
504eacaf64
commit
ed87d4cd26
3 changed files with 6 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue