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