Mobile search bar fixes (#1032)
* Mobile search bar fixes # Fixed - Fixed: Fixed an issue with longer usernames causing header to wrap to another line. (develop) - Fixed: Fixed an issue where the close button for the search was not centered on mobile. Verified on iOS Safari and iOS Chrome. (develop) * Adding artist to search, fixing cover artist in search
This commit is contained in:
parent
e59e9f92cf
commit
5e535386d6
6 changed files with 22 additions and 3 deletions
|
|
@ -112,8 +112,11 @@ export class NavHeaderComponent implements OnInit, OnDestroy {
|
|||
// TODO: Move this to utility service
|
||||
this.clearSearch();
|
||||
switch(role) {
|
||||
case PersonRole.Writer:
|
||||
this.goTo('writers', filter);
|
||||
break;
|
||||
case PersonRole.Artist:
|
||||
this.goTo('artist', filter);
|
||||
this.goTo('artists', filter);
|
||||
break;
|
||||
case PersonRole.Character:
|
||||
this.goTo('character', filter);
|
||||
|
|
@ -128,7 +131,7 @@ export class NavHeaderComponent implements OnInit, OnDestroy {
|
|||
this.goTo('inker', filter);
|
||||
break;
|
||||
case PersonRole.CoverArtist:
|
||||
this.goTo('coverArtist', filter);
|
||||
this.goTo('coverArtists', filter);
|
||||
break;
|
||||
case PersonRole.Inker:
|
||||
this.goTo('inker', filter);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue