mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
198e62be83
In OOUI the close button is always on the left side. See https://doc.wikimedia.org/oojs-ui/master/demos/?page=dialogs&theme=wikimediaui&direction=ltr&platform=desktop The CSS hack to move it to the other side doesn't work and must be removed. You can see the problem the moment the text is longer (which can easily happen in translated versions). I tried to come up with a more official way to move the button to the other side, but gave up. One way is to replace the existing flags: [ 'safe', 'close' ] with: flags: [ 'primary', 'close' ], framed: false But this causes other style problems. Let's remove the bogus CSS first and possibly try again in a later patch. Bug: T294839 Change-Id: Ia6ddefd99e4a03a87b0450ab94712ff19bb268e4 |
||
---|---|---|
.. | ||
ve.ui.MWExpandableContentElement.css | ||
ve.ui.MWExpandableErrorElement.css | ||
ve.ui.MWFloatingHelpElement.css | ||
ve.ui.MWPreviewElement.css |