messing around with text area instead of text input

master
BodgeMaster 2020-03-08 21:32:10 +01:00
parent 0cfd2925f8
commit 2cc18b7f93
2 changed files with 9 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<?php
%REQUIRE_LOGIN%
echo "<section><form action='%CONTENT_DIR%/board/?id=$id&action=submit' method='post'><input type='text' name='title' maxlength='128' placeholder='Title'/><input type='text' name='content' maxlength='65535' placeholder='You can contribute to the conversation here. Tell us your story in up to 65535 characters...'/><input type='submit' value='Post'></form></section>"
echo "<section><form action='%CONTENT_DIR%/board/?id=$id&action=submit' method='post'><input type='text' name='title' maxlength='128' placeholder='Title'/><textarea name='content' maxlength='65535' placeholder='You can contribute to the conversation here. Tell us your story in up to 65535 characters...' rows='3'></textarea><input type='submit' value='Post'></form></section>"
?>

View File

@ -146,6 +146,14 @@ input[type=submit]:hover {
background-color: #8bd3dd;
}
textarea, select {
color: #001858;
display: inline-block;
border: 1px solid #001858;
box-sizing: border-box;
box-shadow: inset 0px 8px 16px 0px rgba(0,0,0,0.2);
}
button {
font-family: monospace;
background-color: #001858;