add refused-to-display tips in link-preview-overlay
This commit is contained in:
parent
3d49b1dea3
commit
e2a8634057
|
@ -1229,6 +1229,16 @@ html:-moz-full-screen-ancestor {
|
||||||
visibility: visible;
|
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 {
|
.reveal .overlay.overlay-preview.loaded .spinner {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
|
|
|
@ -1500,6 +1500,9 @@
|
||||||
'<div class="spinner"></div>',
|
'<div class="spinner"></div>',
|
||||||
'<div class="viewport">',
|
'<div class="viewport">',
|
||||||
'<iframe src="'+ url +'"></iframe>',
|
'<iframe src="'+ url +'"></iframe>',
|
||||||
|
'<small class="viewport-inner">',
|
||||||
|
'This link is refused to display in a frame due to its policy',
|
||||||
|
'</small>',
|
||||||
'</div>'
|
'</div>'
|
||||||
].join('');
|
].join('');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user