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
|
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>
|
||||||
|
@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user