Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Fix for Problem with mobile search trigger on mobile #866
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrykPorabik committed Jun 18, 2020
1 parent 3d81b77 commit 7fe19e6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions Grand.Web/Themes/DefaultClean/Content/css/style.css
Expand Up @@ -593,6 +593,12 @@ body:not(.is-ready) .search-box-button {
.advanced-search .col-form-label {
font-weight: 400;
}

.mobile-search-trigger {
border: 0;
padding: 0;
background-color: transparent;
}
/*autocomplete*/

.advanced-search-results {
Expand Down Expand Up @@ -1961,6 +1967,7 @@ pagination .pagination a:not([href]) {
display: flex;
border-radius: 0;
justify-content: center;
align-items: center;
}

#searchModal .search-box-select {
Expand Down
4 changes: 2 additions & 2 deletions Grand.Web/Views/Shared/Components/SearchBox/Default.cshtml
Expand Up @@ -70,6 +70,6 @@

@await Component.InvokeAsync("Widget", new { widgetZone = "searchbox" })
</form>
<a class="mobile-search-trigger d-lg-none d-flex" data-toggle="modal" data-target="#searchModal">
<button class="mobile-search-trigger d-lg-none d-flex" data-toggle="modal" data-target="#searchModal">
<span class="mdi mdi-magnify"></span>
</a>
</button>

0 comments on commit 7fe19e6

Please sign in to comment.