Save dialog: Fix too-wide diff box.

The rules have changed, these constraints are no longer needed
and actually causing the table.diff to ignore the restrictions
and bump out of the container beyond the width of the window.

This restores the condition under which table.diff is displayed
by core EditPage.php.

Follows-up I5f59482f4db.

Change-Id: I456644bf14efab7dac351818d5c3bb69b9b3c993
This commit is contained in:
Timo Tijhof 2012-12-12 04:32:55 +01:00
parent fee25f14f7
commit 0cec349074
2 changed files with 1 additions and 4 deletions

View file

@ -259,7 +259,6 @@
.ve-init-mw-viewPageTarget-saveDialog-body {
border-top: 1px solid #ddd;
padding-top: 1em;
overflow: hidden;
}
.ve-init-mw-viewPageTarget-saveDialog-slide {
@ -275,8 +274,6 @@
}
.ve-init-mw-viewPageTarget-saveDialog-slide-review .ve-init-mw-viewPageTarget-saveDialog-viewer .diff {
width: auto;
table-layout: auto;
font-size: 0.8em;
}

View file

@ -1219,7 +1219,7 @@ ve.init.mw.ViewPageTarget.prototype.swapSaveDialog = function ( slide ) {
);
}
}
this.$saveDialog.css( 'width', 'auto' );
this.$saveDialog.css( 'width', '100%' );
} else {
this.$saveDialog.css( 'width', '' );
}