fix CreateBoardModal responsiveness, add textarea

This commit is contained in:
plebeius.eth
2023-07-30 09:58:15 +02:00
parent ae5b1612db
commit c80ab96224
2 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -228,7 +228,7 @@ const CreateBoardModal = ({ isOpen, closeModal }) => {
Optional, let other users help you moderate your board.
</div>
<div className='settings-input'>
<input
<textarea
id="name"
type="text"
value={moderators}
@@ -3,14 +3,15 @@ import Modal from "react-modal";
export const StyledModal = styled(Modal)`
.modal-content {
top: 25%;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 450px;
max-height: 650px;
left: calc(50% - 50px);
height: auto;
max-height: calc(100vh - 2*50px);
overflow-y: auto;
margin-left: -178px;
position: absolute;
padding: 5px 5px 5px;
padding: 5px;
box-shadow: 0 0 5px rgba(0, 0, 0, .25);
}