mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix CreateBoardModal responsiveness, add textarea
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user