mediawiki-extensions-Visual.../modules/ve-mw/ui/themes/minerva/ve.ui.MobileWindowManager.css

22 lines
736 B
CSS
Raw Normal View History

/*!
* 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;
}