From 69262e5a735bd3e3acf323bf55ae8737ecfe8345 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Sun, 27 Feb 2005 02:46:37 +0000 Subject: - Search: fix search block stretching sidebar --- modules/search.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/search.module') diff --git a/modules/search.module b/modules/search.module index 002ea09c2..5c90c798b 100644 --- a/modules/search.module +++ b/modules/search.module @@ -645,7 +645,7 @@ function search_form($action = '', $keys = '', $type = null, $prompt = null) { $output = '
'; $box = '
'; - $box .= form_textfield('', 'keys', $keys, 40, 255); + $box .= form_textfield('', 'keys', $keys, $prompt ? 40 : 20, 255); $box .= form_submit(t('Search')); $box .= '
'; $output .= form_item($prompt, $box); -- cgit v1.2.3