From 0c6f33f581833bbece34bb889dc3c0d3507dcea2 Mon Sep 17 00:00:00 2001 From: conradverm Date: Wed, 13 Feb 2008 14:41:56 +0000 Subject: [PATCH] KTS-2891 "Search widget is too big as it is invisible when the screen resolution is low" Fixed. --- resources/js/search2widget.js | 4 ++-- templates/kt3/standard_page.smarty | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/resources/js/search2widget.js b/resources/js/search2widget.js index d6230a3..a82fd8c 100644 --- a/resources/js/search2widget.js +++ b/resources/js/search2widget.js @@ -176,7 +176,7 @@ function createSearchBar(div, suffix) value: quickQuery, selectOnFocus:true, id:'txtSearchBar' + suffix, - width: 110 + width: (suffix == 1)?180:110 }), button); var map = new Ext.KeyMap("txtSearchBar" + suffix, @@ -190,7 +190,7 @@ function createSearchBar(div, suffix) var el = Ext.get(div); if (suffix == 1) { - el.applyStyles('position:relative; top: -3px'); + el.applyStyles('position:relative; top: -15px; margin-right: 15px'); } else { diff --git a/templates/kt3/standard_page.smarty b/templates/kt3/standard_page.smarty index 72b17b9..fbd7472 100644 --- a/templates/kt3/standard_page.smarty +++ b/templates/kt3/standard_page.smarty @@ -158,7 +158,7 @@ -
+ @@ -198,6 +198,7 @@ {if ($page->breadcrumbDetails !== false)} ({$page->breadcrumbDetails|sanitize}) {/if} +
{/if}
-- libgit2 0.21.4