Skip to content

Commit 5a2656c

Browse files
committed
MOBILE-3063 reading: Hide iframe help and core iframe
1 parent efd11c1 commit 5a2656c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/core/directives/format-text.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@ export class CoreFormatTextDirective implements OnChanges, OnDestroy, AsyncDirec
997997
protected addIframeHelp(iframe: HTMLIFrameElement): void {
998998
const helpDiv = document.createElement('div');
999999

1000-
helpDiv.classList.add('ion-text-center', 'ion-text-wrap');
1000+
helpDiv.classList.add('ion-text-center', 'ion-text-wrap', 'core-iframe-help');
10011001

10021002
const button = document.createElement('ion-button');
10031003
button.setAttribute('fill', 'clear');

src/theme/components/reading-mode.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ body.core-reading-mode-enabled {
3535

3636
&.core-reading-mode-multimedia-hidden {
3737
ion-content.core-reading-mode-content {
38-
img, video, iframe {
38+
img, video, iframe, core-iframe, .core-iframe-help {
3939
display: none !important;
4040
}
4141
}

0 commit comments

Comments
 (0)