diff --git a/src/core/components/tabs/tabs.scss b/src/core/components/tabs/tabs.scss index 4b1ec3b9b..04a50ba1b 100644 --- a/src/core/components/tabs/tabs.scss +++ b/src/core/components/tabs/tabs.scss @@ -23,6 +23,7 @@ border-bottom: 1px solid var(--stroke); display: flex; align-items: flex-end; + flex-shrink: 0; ion-row { width: 100%; diff --git a/src/core/features/editor/components/rich-text-editor/rich-text-editor.ts b/src/core/features/editor/components/rich-text-editor/rich-text-editor.ts index 76e9a1c5b..479933d77 100644 --- a/src/core/features/editor/components/rich-text-editor/rich-text-editor.ts +++ b/src/core/features/editor/components/rich-text-editor/rich-text-editor.ts @@ -215,8 +215,12 @@ export class CoreEditorRichTextEditorComponent implements OnInit, AfterViewInit, return; } - this.labelObserver = new MutationObserver(() => this.ariaLabelledBy = label.getAttribute('id') ?? undefined); + const updateArialabelledBy = () => this.ariaLabelledBy = label.getAttribute('id') ?? undefined; + + this.labelObserver = new MutationObserver(updateArialabelledBy); this.labelObserver.observe(label, { attributes: true, attributeFilter: ['id'] }); + + updateArialabelledBy(); } /**