mirror of
https://github.com/wassname/Mostly-Harmless.git
synced 2026-09-10 11:40:59 +08:00
fixes #29; made the submit form title field a textarea so it can be resized
This commit is contained in:
+4
-2
@@ -214,14 +214,16 @@ ol[data-commentspage="true"] button.cancel {
|
||||
width:500px;
|
||||
font-size: small;
|
||||
}
|
||||
#submit input[type="text"] {
|
||||
#submit input[type="text"], #submit textarea {
|
||||
width: 492px;
|
||||
padding: 3px;
|
||||
margin: 0 0 5px;
|
||||
border: 1px solid gray;
|
||||
height: 22px;
|
||||
font-family: verdana, arial, helvetica, sans-serif;
|
||||
max-width: 492px;
|
||||
}
|
||||
#submit input, #submit label {
|
||||
#submit input, #submit label, #submit textarea {
|
||||
display: block;
|
||||
font-size: large;
|
||||
margin: 0 0 5px;
|
||||
|
||||
+1
-1
@@ -1211,7 +1211,7 @@ Popup.prototype.createSubmitForm = function (tab) {
|
||||
submitHTML += '<h1>' + chrome.i18n.getMessage('submit_page') + '</h1>';
|
||||
submitHTML += '<fieldset>';
|
||||
submitHTML += '<label for="submit_title">' + chrome.i18n.getMessage('title') + '</label>';
|
||||
submitHTML += '<input id="submit_title" name="submit_title" type="text" />';
|
||||
submitHTML += '<textarea id="submit_title" name="submit_title" type="text"></textarea>';
|
||||
submitHTML += '<input id="submit_title_suggest" type="button" value="' + chrome.i18n.getMessage('suggest_title') + '" onclick="document.getElementById(\'submit_title\').value=\'' + tab.title + '\'" />';
|
||||
submitHTML += '</fieldset>';
|
||||
submitHTML += '<fieldset>';
|
||||
|
||||
Reference in New Issue
Block a user