commit
						0eeab33ecf
					
				@ -11,11 +11,13 @@
 | 
				
			|||||||
    </ion-refresher>
 | 
					    </ion-refresher>
 | 
				
			||||||
    <core-loading [hideUntil]="notesLoaded" class="core-loading-center">
 | 
					    <core-loading [hideUntil]="notesLoaded" class="core-loading-center">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <ion-select [(ngModel)]="type" (ngModelChange)="typeChanged()" interface="popover">
 | 
					        <div padding>
 | 
				
			||||||
            <ion-option value="site">{{ 'addon.notes.sitenotes' | translate }}</ion-option>
 | 
					            <ion-select [(ngModel)]="type" (ngModelChange)="typeChanged()" interface="popover" class="core-button-select">
 | 
				
			||||||
            <ion-option value="course">{{ 'addon.notes.coursenotes' | translate }}</ion-option>
 | 
					                <ion-option value="site">{{ 'addon.notes.sitenotes' | translate }}</ion-option>
 | 
				
			||||||
            <ion-option value="personal">{{ 'addon.notes.personalnotes' | translate }}</ion-option>
 | 
					                <ion-option value="course">{{ 'addon.notes.coursenotes' | translate }}</ion-option>
 | 
				
			||||||
        </ion-select>
 | 
					                <ion-option value="personal">{{ 'addon.notes.personalnotes' | translate }}</ion-option>
 | 
				
			||||||
 | 
					            </ion-select>
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <div class="core-warning-card" icon-start *ngIf="hasOffline">
 | 
					        <div class="core-warning-card" icon-start *ngIf="hasOffline">
 | 
				
			||||||
            <ion-icon name="warning"></ion-icon>
 | 
					            <ion-icon name="warning"></ion-icon>
 | 
				
			||||||
 | 
				
			|||||||
@ -377,6 +377,17 @@ ion-app.app-root {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @include core-headings();
 | 
					    @include core-headings();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    img.icon {
 | 
				
			||||||
 | 
					      font-size: 16px;
 | 
				
			||||||
 | 
					      width: 16px;
 | 
				
			||||||
 | 
					      height: 16px;
 | 
				
			||||||
 | 
					      margin: 0;
 | 
				
			||||||
 | 
					      padding: 0;
 | 
				
			||||||
 | 
					      -webkit-box-sizing: content-box;
 | 
				
			||||||
 | 
					      box-sizing: content-box;
 | 
				
			||||||
 | 
					      margin-right: .5rem;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  .item core-format-text {
 | 
					  .item core-format-text {
 | 
				
			||||||
 | 
				
			|||||||
@ -40,9 +40,11 @@ ion-app.app-root core-empty-box {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @include media-breakpoint-down(sm) {
 | 
					  @media (max-width: 350px) {
 | 
				
			||||||
    .core-empty-box {
 | 
					    .core-empty-box {
 | 
				
			||||||
      position: relative;
 | 
					      position: relative;
 | 
				
			||||||
 | 
					      height: auto;
 | 
				
			||||||
 | 
					      margin-top: 50px;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      .icon {
 | 
					      .icon {
 | 
				
			||||||
        font-size: 100px;
 | 
					        font-size: 100px;
 | 
				
			||||||
 | 
				
			|||||||
@ -382,7 +382,7 @@ export class CoreFormatTextDirective implements OnChanges {
 | 
				
			|||||||
                images.forEach((img: HTMLElement) => {
 | 
					                images.forEach((img: HTMLElement) => {
 | 
				
			||||||
                    this.addMediaAdaptClass(img);
 | 
					                    this.addMediaAdaptClass(img);
 | 
				
			||||||
                    this.addExternalContent(img);
 | 
					                    this.addExternalContent(img);
 | 
				
			||||||
                    if (this.utils.isTrueOrOne(this.adaptImg)) {
 | 
					                    if (this.utils.isTrueOrOne(this.adaptImg) && !img.classList.contains('icon')) {
 | 
				
			||||||
                        this.adaptImage(elWidth, img);
 | 
					                        this.adaptImage(elWidth, img);
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                });
 | 
					                });
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user