diff options
author | PyroPeter <abi1789@googlemail.com> | 2010-08-07 02:33:29 +0200 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2010-08-11 20:00:31 -0400 |
commit | a4458e75bd70a293f21b7c5d230357639448bb1b (patch) | |
tree | 2e99638cc9a14b8adce15de3c23f59bbfa1813e3 /web | |
parent | fd863210f8594d1e9b9f6408c63eeaec63f94ac7 (diff) |
Fix the search-button to allow captions wider than 80px (e.g. in german translation)
Change width to min-width. - Loui
Signed-off-by: PyroPeter <abi1789@googlemail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web')
-rw-r--r-- | web/html/css/containers.css | 2 | ||||
-rw-r--r-- | web/template/pkg_search_form.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/web/html/css/containers.css b/web/html/css/containers.css index fd3bea2..fc092de 100644 --- a/web/html/css/containers.css +++ b/web/html/css/containers.css @@ -185,6 +185,6 @@ input.button { color: #6c83b0; border: 1px solid #6c83b0; font-size: 12px; - padding: 2px; + padding: 2px 8px; } diff --git a/web/template/pkg_search_form.php b/web/template/pkg_search_form.php index 0947ba8..9a82713 100644 --- a/web/template/pkg_search_form.php +++ b/web/template/pkg_search_form.php @@ -6,9 +6,9 @@ <span class='f3'><?php print __("Search Criteria"); ?></span> <input type='hidden' name='O' value='0' /> <input type='text' name='K' size='30' value="<?php print stripslashes(trim(htmlspecialchars($_REQUEST["K"], ENT_QUOTES))); ?>" maxlength='35' /> - <input type='submit' style='width:80px' class='button' name='do_Search' value='<?php print __("Go"); ?>' /> + <input type='submit' style='min-width:80px' class='button' name='do_Search' value='<?php print __("Go"); ?>' /> <?php if (!empty($_GET['detail'])): ?> - <input type='submit' style='width:80px' class='button' name='do_Orphans' value='<?php print __("Orphans"); ?>' /> + <input type='submit' style='min-width:80px' class='button' name='do_Orphans' value='<?php print __("Orphans"); ?>' /> <?php endif; ?> <a href="?<?php print mkurl('detail=' . ((!empty($_GET['detail'])) ? 0 : 1) ) ?>"><?php print __("Advanced"); ?></a> |