aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--css/reveal.scss10
-rw-r--r--js/reveal.js3
2 files changed, 13 insertions, 0 deletions
diff --git a/css/reveal.scss b/css/reveal.scss
index f6a37ad..321b3f9 100644
--- a/css/reveal.scss
+++ b/css/reveal.scss
@@ -1246,6 +1246,16 @@ body {
visibility: visible;
}
+ .reveal .overlay.overlay-preview.loaded .viewport-inner {
+ position: absolute;
+ z-index: -1;
+ left: 0;
+ top: 60px;
+ width: 100%;
+ text-align: center;
+ letter-spacing: normal;
+ }
+
.reveal .overlay.overlay-preview.loaded .spinner {
opacity: 0;
visibility: hidden;
diff --git a/js/reveal.js b/js/reveal.js
index 28aa400..e9dba2e 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -1603,6 +1603,9 @@
'<div class="spinner"></div>',
'<div class="viewport">',
'<iframe src="'+ url +'"></iframe>',
+ '<small class="viewport-inner">',
+ 'This link is refused to display in a frame due to its policy',
+ '</small>',
'</div>'
].join('');