Skip to content

Commit

Permalink
Fix searchbox width for small screens
Browse files Browse the repository at this point in the history
Fixes #5731
  • Loading branch information
syncguru authored and vboctor committed Jan 26, 2017
1 parent 2b18e49 commit e08ac01
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/layout_api.php
Expand Up @@ -626,8 +626,8 @@ function layout_navbar_projects_list( $p_project_id = null, $p_include_all_proje

echo '<li>';
echo '<div id="projects-list">';
echo '<div class="searchbox">';
echo '<input class="search form-control input-sm margin-left-8 margin-right-8" placeholder="' . lang_get( 'search' ) . '" />';
echo '<div class="projects-searchbox">';
echo '<input class="search form-control input-md" placeholder="' . lang_get( 'search' ) . '" />';
echo '</div>';
echo '<ul class="list dropdown-yellow no-margin">';

Expand Down
5 changes: 5 additions & 0 deletions css/ace-mantis.css
Expand Up @@ -318,6 +318,11 @@ i.datetimepicker {
background-color: #f5f5f5;
}

.projects-searchbox input {
height: 30px;
margin: 6px 10px;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
.page-content {
Expand Down
3 changes: 3 additions & 0 deletions library/README.md
Expand Up @@ -14,12 +14,14 @@ phpmailer | PHPMailer | 5.2.22 | unpatched [1]
rssbuilder | RSSBuilder | 2.2.1 | patched [2]
utf8 | phputf8 | 0.5 | unpatched
securimage | PHP Captcha | 3.6.5 | patched [1]
list.js | List.js | 1.4.1 | unpatched [3]

**Notes**

1. Library is tracked as a *GIT submodule*; refer to the corresponding
repository for details
2. removed `__autoload` function
3. Javascript or JQuery plugin


Upstream projects
Expand All @@ -34,3 +36,4 @@ phpmailer | https://github.com/PHPMailer/PHPMailer
rssbuilder | http://code.google.com/p/flaimo-php/
utf8 | http://sourceforge.net/projects/phputf8
secureimage | http://www.phpcaptcha.org/ - https://github.com/mantisbt/securimage
listjs | http://listjs.com/ - https://github.com/javve/list.js

0 comments on commit e08ac01

Please sign in to comment.