Issue #1258342 by Andreas Radloff: Change search inputs' default width.

8.0.x
Dries 2013-12-10 17:05:11 -05:00
parent 258b9a310c
commit 70d77c32db
2 changed files with 1 additions and 2 deletions

View File

@ -80,7 +80,7 @@ class SearchForm extends FormBase {
'#type' => 'search',
'#title' => $prompt,
'#default_value' => $plugin->getKeywords(),
'#size' => $prompt ? 40 : 20,
'#size' => $prompt ? 30 : 20,
'#maxlength' => 255,
);
// processed_keys is used to coordinate keyword passing between other forms

View File

@ -1579,7 +1579,6 @@ div.password-suggestions {
float: left; /* LTR */
font-size: 1em;
margin-right: 5px;
width: 9em;
}
[dir="rtl"] #search-form input#edit-keys,
[dir="rtl"] #block-search-form .form-item-search-block-form input {