fix(back-button): ios style

This commit is contained in:
Manu Mtz.-Almeida
2018-03-23 11:11:41 +01:00
parent ce09978eee
commit 2b8e489f84
2 changed files with 3 additions and 6 deletions

View File

@ -29,11 +29,11 @@
.back-button-ios ion-icon {
@include padding(0);
@include margin(0, -4px, 0, 0);
@include margin(0, -5px, 0, -4px);
display: inherit;
font-size: 1.75em;
font-size: 1.85em;
pointer-events: none;
}

View File

@ -18,11 +18,11 @@ export class Scroll {
private lastScroll = 0;
private detail: ScrollDetail;
private queued = false;
@Element() private el: HTMLElement;
@Prop({ context: 'config'}) config: Config;
@Prop({ context: 'dom' }) dom: DomController;
@Prop({ context: 'isServer' }) isServer: boolean;
@Prop() mode: string;
@ -78,9 +78,6 @@ export class Scroll {
}
componentWillLoad() {
if (this.isServer) {
return;
}
if (this.forceOverscroll === undefined) {
this.forceOverscroll = this.mode === 'ios' && ('ontouchstart' in window);
}