1" class="core-button-spinner">
diff --git a/src/addons/messages/pages/contacts/contacts.page.ts b/src/addons/messages/pages/contacts/contacts.page.ts
index 473820dd8..80f49d224 100644
--- a/src/addons/messages/pages/contacts/contacts.page.ts
+++ b/src/addons/messages/pages/contacts/contacts.page.ts
@@ -32,7 +32,6 @@ import { IonRefresher } from '@ionic/angular';
selector: 'page-addon-messages-contacts',
templateUrl: 'contacts.html',
styleUrls: [
- 'tabs.scss',
'../../messages-common.scss',
],
})
diff --git a/src/addons/messages/pages/contacts/tabs.scss b/src/addons/messages/pages/contacts/tabs.scss
deleted file mode 100644
index 8bb0948a5..000000000
--- a/src/addons/messages/pages/contacts/tabs.scss
+++ /dev/null
@@ -1,48 +0,0 @@
-:host {
- ion-tab-bar.core-tabs-bar {
- position: relative;
- width: 100%;
- background: var(--core-tabs-background);
- color: var(--core-tab-color);
- -webkit-filter: drop-shadow(0px 3px 3px rgba(var(--drop-shadow)));
- filter: drop-shadow(0px 3px 3px rgba(var(--drop-shadow)));
- border: 0;
-
- ion-row {
- width: 100%;
- }
-
- .tab-slide {
- border-bottom: 2px solid transparent;
- min-width: 100px;
- min-height: 56px;
- cursor: pointer;
- overflow: hidden;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 0;
- margin-bottom: 1px;
-
- ion-label {
- font-size: 16px;
- font-weight: 400;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- word-wrap: break-word;
- max-width: 100%;
- line-height: 1.2em;
- margin: 16px auto;
- }
-
- &[aria-selected=true] {
- color: var(--core-tab-border-color-active);
- border-bottom-color: var(--core-tab-color-active);
- ion-tab-button {
- color: var(--core-tab-border-color-active);
- }
- }
- }
- }
-}
diff --git a/src/core/components/dynamic-component/dynamic-component.ts b/src/core/components/dynamic-component/dynamic-component.ts
index 033ab327a..b49dbafb7 100644
--- a/src/core/components/dynamic-component/dynamic-component.ts
+++ b/src/core/components/dynamic-component/dynamic-component.ts
@@ -62,6 +62,7 @@ import { CoreLogger } from '@singletons/logger';
@Component({
selector: 'core-dynamic-component',
templateUrl: 'core-dynamic-component.html',
+ styles: [':host { display: contents; }'],
})
export class CoreDynamicComponent implements OnChanges, DoCheck {
diff --git a/src/core/components/loading/loading.scss b/src/core/components/loading/loading.scss
index f295487c9..1ed6c3d6e 100644
--- a/src/core/components/loading/loading.scss
+++ b/src/core/components/loading/loading.scss
@@ -56,5 +56,9 @@
padding-top: 20px;
position: relative;
}
+
+ .core-loading-content {
+ display: block;
+ }
}
}
diff --git a/src/core/components/send-message-form/core-send-message-form.html b/src/core/components/send-message-form/core-send-message-form.html
index 292f9c2f2..74fadaad4 100644
--- a/src/core/components/send-message-form/core-send-message-form.html
+++ b/src/core/components/send-message-form/core-send-message-form.html
@@ -17,7 +17,7 @@
>
+ [attr.aria-label]="'core.send' | translate" [core-suppress-events] (onClick)="submitForm($event)">
diff --git a/src/core/components/tabs/tabs.scss b/src/core/components/tabs/tabs.scss
index 3c4a05405..8bc9d4b3e 100644
--- a/src/core/components/tabs/tabs.scss
+++ b/src/core/components/tabs/tabs.scss
@@ -1,6 +1,6 @@
:host {
--tabs-background: var(--core-tabs-background);
- --tabs-color: var(--color);
+ --tabs-color: var(--core-tab-color);
--height: 56px;
height: 100%;
display: block;
diff --git a/src/core/directives/supress-events.ts b/src/core/directives/supress-events.ts
index e651b1eca..0ec7aab2e 100644
--- a/src/core/directives/supress-events.ts
+++ b/src/core/directives/supress-events.ts
@@ -15,6 +15,7 @@
// Based on http://roblouie.com/article/198/using-gestures-in-the-ionic-2-beta/
import { Directive, ElementRef, OnInit, Input, Output, EventEmitter } from '@angular/core';
+import { CoreLogger } from '@singletons/logger';
/**
* Directive to suppress all events on an element. This is useful to prevent keyboard closing when clicking this element.
@@ -29,6 +30,8 @@ import { Directive, ElementRef, OnInit, Input, Output, EventEmitter } from '@ang
* If you only want to suppress a single event just pass the name of the event. If you want to suppress a set of events,
* pass an array with the names of the events to suppress.
*
+ * Usage of onClick instead of click is mandatory to make this directive work.
+ *
* Example usage:
*
*
@@ -51,6 +54,13 @@ export class CoreSupressEventsDirective implements OnInit {
* Initialize event listeners.
*/
ngOnInit(): void {
+ if (this.onClick.observers.length == 0) {
+ CoreLogger.getInstance('CoreSupressEventsDirective')
+ .error('No onClick output was defined causing this directive to fail', this.element);
+
+ return;
+ }
+
let events: string[];
if (this.suppressEvents == 'all' || typeof this.suppressEvents == 'undefined' || this.suppressEvents === null) {
diff --git a/src/core/features/comments/pages/viewer/viewer.html b/src/core/features/comments/pages/viewer/viewer.html
index 6248c094e..ada1872c0 100644
--- a/src/core/features/comments/pages/viewer/viewer.html
+++ b/src/core/features/comments/pages/viewer/viewer.html
@@ -119,7 +119,7 @@
-