kopia lustrzana https://github.com/wagtail/wagtail
Fix initial size of 'Preview unavailable' content in preview panel
rodzic
dec8ec47ed
commit
9122ab2aee
|
@ -177,6 +177,11 @@ function initPreview() {
|
|||
!data.is_available,
|
||||
);
|
||||
|
||||
if (!data.is_available) {
|
||||
// Ensure the 'Preview not available' message is not scaled down
|
||||
setPreviewWidth();
|
||||
}
|
||||
|
||||
if (data.is_valid) {
|
||||
reloadIframe();
|
||||
} else if (!cleared) {
|
||||
|
|
Ładowanie…
Reference in New Issue