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

Commit

Permalink
fix(searchbar): fix width for small searchbar to allow a single start…
Browse files Browse the repository at this point in the history
… button
  • Loading branch information
garygrossgarten committed May 16, 2019
1 parent 8c3c85e commit c1d8cab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion projects/core/src/lib/searchbar/searchbar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { IonInput } from '@ionic/angular';
transition('normal => small', [
animate('95ms ease-in')
]),
state('small', style({ width: '92px' })),
state('small', style({ width: '120px' })),
state('normal', style({ width: '100%' }))
]),
trigger('titleAnim', [
Expand Down
9 changes: 5 additions & 4 deletions src/app/pages/toolbar-search/toolbar-search.page.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<fiv-searchbar #search title="Searchbar" placeholder="Search ...." (fivInputChange)="onSearchInputChanged($event)"
(fivClose)="closeSearch();" [small]="small">
<ion-menu-button start menu="menuId"></ion-menu-button>
</fiv-searchbar>
<fiv-searchbar #search title="Searchbar" placeholder="Search ...." (fivInputChange)="onSearchInputChanged($event)"
(fivClose)="closeSearch();" [small]="small">
<!-- <ion-menu-button start menu="menuId"></ion-menu-button> -->
<ion-back-button start defaultHref="home"></ion-back-button>
</fiv-searchbar>

<ion-content padding no-bounce>

Expand Down

0 comments on commit c1d8cab

Please sign in to comment.