mirror of
				https://github.com/ionic-team/ionic-framework.git
				synced 2025-11-04 03:48:13 +08:00 
			
		
		
		
	fix(back-button): ios style
This commit is contained in:
		@ -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;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -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);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user