[ADF-1995] [Mobile] Menu button is not displayed - portrait orientation

This commit is contained in:
Eugenio Romano
2017-11-22 21:48:36 +00:00
parent 729a8b6bde
commit d7b790f2bb
3 changed files with 18 additions and 5 deletions

View File

@@ -29,8 +29,8 @@ import 'rxjs/add/operator/distinctUntilChanged';
styleUrls: ['./search-control.component.scss'],
animations: [
trigger('transitionMessages', [
state('active', style({ transform: 'translateX(0%)' })),
state('inactive', style({ transform: 'translateX(83%)', overflow: 'hidden' })),
state('active', style({ transform: 'translateX(0%)', 'margin-left': '13px' })),
state('inactive', style({ transform: 'translateX(81%)'})),
state('no-animation', style({ transform: 'translateX(0%)', width: '100%' })),
transition('inactive => active',
animate('300ms cubic-bezier(0.55, 0, 0.55, 0.2)')),
@@ -80,7 +80,7 @@ export class SearchControlComponent implements OnInit, OnDestroy {
private focusSubject = new Subject<FocusEvent>();
constructor(public authService: AuthenticationService,
private thumbnailService: ThumbnailService) {
private thumbnailService: ThumbnailService) {
this.toggleSearch.asObservable().debounceTime(100).subscribe(() => {
if (this.expandable) {