mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 16:44:51 +00:00
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;
|
||
|
}
|