mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
change
This commit is contained in:
@@ -8,15 +8,15 @@
|
||||
<div class="main-content d-flex height-100" [className]="isModal ? '_main-content d-flex height-100 ma-0 px-20 pt-30 pb-20 background-white' : 'main-content d-flex height-100'">
|
||||
<div class="content d-flex flex-column width-100">
|
||||
<div class="main-header d-flex">
|
||||
<div class="title-content d-flex justify-between width-100">
|
||||
<div class="left">
|
||||
<div class="title-content d-flex justify-between width-100 mb-10">
|
||||
<div class="left d-flex">
|
||||
<button class="btn-no-color d-flex align-center" (click)="goBack()">
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' " src="assets/images/theme/doneIt/icons-calendar-arrow-left.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " slot="end" src='assets/images/theme/gov/icons-calendar-arrow-left.svg'></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' " slot="end" src='assets/images/theme/{{ThemeService.currentTheme}}/icons-calendar-arrow-left.svg'></ion-icon>
|
||||
</button>
|
||||
</div>
|
||||
<div class="middle">
|
||||
<div class="middle d-flex align-center">
|
||||
<p class="title" style="font-size: 21.1px"><span>{{loadedEvent.Subject}}</span></p>
|
||||
</div>
|
||||
<div class="menu-options d-flex">
|
||||
@@ -24,7 +24,7 @@
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " class="edit" slot="end" src="assets/images/icons-edit.svg" ></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " class="edit" slot="end" src="assets/images/theme/gov/icons-edit.svg" ></ion-icon>
|
||||
</button>
|
||||
<button class="btn-no-color" (click)="deleteYesOrNo()">
|
||||
<button class="btn-no-color d-flex" (click)="deleteYesOrNo()">
|
||||
<ion-icon class="delete" name="trash-sharp"></ion-icon>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div class="content d-flex flex-column" *ngIf="task">
|
||||
<div class="main-header ">
|
||||
<div class="title-content width-100 d-flex justify-space-between ">
|
||||
<div class="font-30-rem cursor-pointer d-flex" (click)="goBack()" defaultHref="#">
|
||||
<div class="font-30-rem cursor-pointer d-flex height-100 align-center" (click)="goBack()" defaultHref="#">
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'default' " slot="end" src='assets/images/icons-arrow-arrow-left.svg'></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'doneIt' " src="assets/images/theme/doneIt/icons-calendar-arrow-left.svg"></ion-icon>
|
||||
<ion-icon *ngIf="ThemeService.currentTheme == 'gov' " slot="end" src='assets/images/theme/gov/icons-calendar-arrow-left.svg'></ion-icon>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<div class="main-wrapper">
|
||||
|
||||
<div class="main-content d-flex flex-column width" >
|
||||
<div class="main-content d-flex flex-column width header-fix" >
|
||||
|
||||
<div class="div-top-header">
|
||||
|
||||
|
||||
@@ -30,4 +30,20 @@
|
||||
|
||||
#my-tinymce {
|
||||
height: 200% !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
editor {
|
||||
|
||||
height: 100% !important;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.tox-tinymce {
|
||||
|
||||
height: 100% !important;
|
||||
|
||||
}
|
||||
@@ -26,6 +26,25 @@ export class TinyMCEPage implements OnInit {
|
||||
) {
|
||||
this.Document = this.navParams.get('Document')
|
||||
this.content = this.navParams.get('content')
|
||||
|
||||
|
||||
this.waitForTiny();
|
||||
}
|
||||
|
||||
waitForTiny() {
|
||||
const tiny: HTMLDivElement = document.querySelector('.tox-tinymce')
|
||||
|
||||
if(tiny) {
|
||||
this.doneWaitForTiny(tiny)
|
||||
} else {
|
||||
setTimeout(() => {
|
||||
this.waitForTiny()
|
||||
}, 500)
|
||||
}
|
||||
}
|
||||
|
||||
doneWaitForTiny(tiny: HTMLDivElement) {
|
||||
tiny.style.height = '100%'
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
|
||||
Reference in New Issue
Block a user