Contact Modal - More space within mobile view
This commit is contained in:
parent
1d8176394f
commit
f0173e7bb3
|
|
@ -54,7 +54,30 @@
|
||||||
height: fit-content;
|
height: fit-content;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal input.large {
|
.modal textarea {
|
||||||
|
display:flex;
|
||||||
|
text-align: start;
|
||||||
|
justify-content: start;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal textarea.large {
|
||||||
height: 10rem;
|
height: 10rem;
|
||||||
width: 20rem;
|
width: 20rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 600px) {
|
||||||
|
|
||||||
|
.modal .box {
|
||||||
|
border: 2px solid #544545;
|
||||||
|
border-radius: 10px;
|
||||||
|
background-color: white;
|
||||||
|
padding: 25px;
|
||||||
|
max-width: 80vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal textarea.large {
|
||||||
|
height: 15rem;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -26,7 +26,7 @@ const ContactModal = props => {
|
||||||
// Render the contact modal form
|
// Render the contact modal form
|
||||||
return (
|
return (
|
||||||
<form onSubmit={(e)=>onSubmit(e)}>
|
<form onSubmit={(e)=>onSubmit(e)}>
|
||||||
<input className="large" onKeyUp={(e)=>{props.updateEmailBody(e);}}/>
|
<textarea className="large" onKeyUp={(e)=>{props.updateEmailBody(e);}}/>
|
||||||
<button>Open In Email Editor</button>
|
<button>Open In Email Editor</button>
|
||||||
</form>
|
</form>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue