mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 10:59:56 +00:00
a7cda892df
Dialogs should not be position:fixed in mobile as they are full screen, and that behavior is dangerously buggy in mobile webkit. Also remove the rules that hide template pieces in mobile so we can show the citation dialogs in all their glory and function. * Depends on ve-core fix I748123a362f9 Bug: T86233 Change-Id: I3daa2b733a7685cb5ff127625f6d2e51b416ec33
22 lines
736 B
CSS
22 lines
736 B
CSS
/*!
|
|
* VisualEditor MediaWiki UserInterface MobileWindowManager styles.
|
|
*
|
|
* @copyright 2011-2015 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
/*
|
|
* HACK: We have to override position:fixed; for mobile dialogs.
|
|
* Desktop dialogs use position: fixed, but mobile WebKit treats
|
|
* position:fixed like they are made of unrecognizable chunk of
|
|
* weirdness, and end up with everything broken, from the
|
|
* rendering to the ability to type properly inside input fields.
|
|
*
|
|
* The mobile dialogs are all full-screen, so we can use the
|
|
* more reliable position:aboslute; and save users trouble with
|
|
* mobile UX.
|
|
*/
|
|
.ve-ui-mobileWindowManager > .oo-ui-dialog {
|
|
position: absolute;
|
|
}
|