mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
home tweaks
This commit is contained in:
parent
de36f2d7a2
commit
f2c49db9a6
@ -14,10 +14,14 @@ const Form = ({
|
||||
onSubmit?: any
|
||||
}) => (
|
||||
<form className={styles.form} onSubmit={onSubmit} {...props}>
|
||||
<header className={styles.formHeader}>
|
||||
<h1 className={styles.formTitle}>{title}</h1>
|
||||
<p className={styles.formDescription}>{description}</p>
|
||||
</header>
|
||||
{title && (
|
||||
<header className={styles.formHeader}>
|
||||
<h1 className={styles.formTitle}>{title}</h1>
|
||||
{description && (
|
||||
<p className={styles.formDescription}>{description}</p>
|
||||
)}
|
||||
</header>
|
||||
)}
|
||||
|
||||
{children}
|
||||
</form>
|
||||
|
@ -1,18 +1,16 @@
|
||||
@import '../styles/variables';
|
||||
|
||||
.home {
|
||||
// background: $brand-black;
|
||||
// color: $brand-white;
|
||||
// min-height: calc(100vh - #{$page-frame} * 2);
|
||||
// display: flex;
|
||||
// align-items: center;
|
||||
// justify-content: center;
|
||||
// flex-wrap: wrap;
|
||||
// padding-top: 4rem;
|
||||
// padding-bottom: 4rem;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
|
||||
// > div {
|
||||
// text-align: center;
|
||||
// width: 100%;
|
||||
// }
|
||||
> * {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
> div > header {
|
||||
margin-top: -($spacer);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user