1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

home tweaks

This commit is contained in:
Matthias Kretschmann 2019-02-08 15:03:26 +01:00
parent de36f2d7a2
commit f2c49db9a6
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 19 additions and 17 deletions

View File

@ -14,10 +14,14 @@ const Form = ({
onSubmit?: any onSubmit?: any
}) => ( }) => (
<form className={styles.form} onSubmit={onSubmit} {...props}> <form className={styles.form} onSubmit={onSubmit} {...props}>
{title && (
<header className={styles.formHeader}> <header className={styles.formHeader}>
<h1 className={styles.formTitle}>{title}</h1> <h1 className={styles.formTitle}>{title}</h1>
{description && (
<p className={styles.formDescription}>{description}</p> <p className={styles.formDescription}>{description}</p>
)}
</header> </header>
)}
{children} {children}
</form> </form>

View File

@ -1,18 +1,16 @@
@import '../styles/variables'; @import '../styles/variables';
.home { .home {
// background: $brand-black; height: 100%;
// color: $brand-white; display: flex;
// min-height: calc(100vh - #{$page-frame} * 2); align-items: center;
// display: flex; flex-wrap: wrap;
// align-items: center;
// justify-content: center;
// flex-wrap: wrap;
// padding-top: 4rem;
// padding-bottom: 4rem;
// > div { > * {
// text-align: center; width: 100%;
// width: 100%; }
// }
> div > header {
margin-top: -($spacer);
}
} }