mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
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:
parent
fee25f14f7
commit
0cec349074
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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', '' );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue