Commit 69262e5a authored by Steven Wittens's avatar Steven Wittens
Browse files

- Search: fix search block stretching sidebar

parent 79dc846a
......@@ -645,7 +645,7 @@ function search_form($action = '', $keys = '', $type = null, $prompt = null) {
$output = ' <div class="search-form">';
$box = '<div class="container-inline">';
$box .= form_textfield('', 'keys', $keys, 40, 255);
$box .= form_textfield('', 'keys', $keys, $prompt ? 40 : 20, 255);
$box .= form_submit(t('Search'));
$box .= '</div>';
$output .= form_item($prompt, $box);
......
......@@ -645,7 +645,7 @@ function search_form($action = '', $keys = '', $type = null, $prompt = null) {
$output = ' <div class="search-form">';
$box = '<div class="container-inline">';
$box .= form_textfield('', 'keys', $keys, 40, 255);
$box .= form_textfield('', 'keys', $keys, $prompt ? 40 : 20, 255);
$box .= form_submit(t('Search'));
$box .= '</div>';
$output .= form_item($prompt, $box);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment