diff --git a/src/core/components/iframe/core-iframe.html b/src/core/components/iframe/core-iframe.html index dc4d5a01d..c8cf72ddc 100644 --- a/src/core/components/iframe/core-iframe.html +++ b/src/core/components/iframe/core-iframe.html @@ -10,9 +10,9 @@ color="dark" expand="block" fill="clear" (click)="openIframeHelpModal()" aria-haspopup="dialog" - class="core-button-as-link" + class="core-button-as-link core-iframe-help" > - {{ 'core.iframehelp' | translate }} + {{ 'core.iframehelp' | translate }} diff --git a/src/core/directives/format-text.ts b/src/core/directives/format-text.ts index adb0641a3..84c15bbe8 100644 --- a/src/core/directives/format-text.ts +++ b/src/core/directives/format-text.ts @@ -799,13 +799,12 @@ export class CoreFormatTextDirective implements OnChanges { protected addIframeHelp(iframe: HTMLIFrameElement): void { const helpDiv = document.createElement('div'); - helpDiv.classList.add('ion-text-center'); - helpDiv.classList.add('ion-text-wrap'); - helpDiv.classList.add('core-iframe-help'); + helpDiv.classList.add('ion-text-center', 'ion-text-wrap'); const button = document.createElement('ion-button'); button.setAttribute('fill', 'clear'); button.setAttribute('aria-haspopup', 'dialog'); + button.classList.add('core-iframe-help', 'core-button-as-link'); button.innerHTML = Translate.instant('core.iframehelp'); button.addEventListener('click', () => {