Commit 0c6f33f581833bbece34bb889dc3c0d3507dcea2
1 parent
2f9a51e9
KTS-2891
"Search widget is too big as it is invisible when the screen resolution is low" Fixed. Committed By: Conrad Vermeulen Reviewed By: Megan Watson git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@8050 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
4 additions
and
3 deletions
resources/js/search2widget.js
| @@ -176,7 +176,7 @@ function createSearchBar(div, suffix) | @@ -176,7 +176,7 @@ function createSearchBar(div, suffix) | ||
| 176 | value: quickQuery, | 176 | value: quickQuery, |
| 177 | selectOnFocus:true, | 177 | selectOnFocus:true, |
| 178 | id:'txtSearchBar' + suffix, | 178 | id:'txtSearchBar' + suffix, |
| 179 | - width: 110 | 179 | + width: (suffix == 1)?180:110 |
| 180 | }), button); | 180 | }), button); |
| 181 | 181 | ||
| 182 | var map = new Ext.KeyMap("txtSearchBar" + suffix, | 182 | var map = new Ext.KeyMap("txtSearchBar" + suffix, |
| @@ -190,7 +190,7 @@ function createSearchBar(div, suffix) | @@ -190,7 +190,7 @@ function createSearchBar(div, suffix) | ||
| 190 | var el = Ext.get(div); | 190 | var el = Ext.get(div); |
| 191 | if (suffix == 1) | 191 | if (suffix == 1) |
| 192 | { | 192 | { |
| 193 | - el.applyStyles('position:relative; top: -3px'); | 193 | + el.applyStyles('position:relative; top: -15px; margin-right: 15px'); |
| 194 | } | 194 | } |
| 195 | else | 195 | else |
| 196 | { | 196 | { |
templates/kt3/standard_page.smarty
| @@ -158,7 +158,7 @@ | @@ -158,7 +158,7 @@ | ||
| 158 | <input type=hidden name="cbQuickGeneral" id="cbQuickGeneral" value="1"></form> | 158 | <input type=hidden name="cbQuickGeneral" id="cbQuickGeneral" value="1"></form> |
| 159 | </div> | 159 | </div> |
| 160 | 160 | ||
| 161 | - <div id="newSearchQuery"/> | 161 | + |
| 162 | 162 | ||
| 163 | 163 | ||
| 164 | 164 | ||
| @@ -198,6 +198,7 @@ | @@ -198,6 +198,7 @@ | ||
| 198 | {if ($page->breadcrumbDetails !== false)} | 198 | {if ($page->breadcrumbDetails !== false)} |
| 199 | <span class="additional">({$page->breadcrumbDetails|sanitize})</span> | 199 | <span class="additional">({$page->breadcrumbDetails|sanitize})</span> |
| 200 | {/if} | 200 | {/if} |
| 201 | + <div id="newSearchQuery" style="float: right; "/> | ||
| 201 | </div> | 202 | </div> |
| 202 | {/if} | 203 | {/if} |
| 203 | </div> | 204 | </div> |