Source code

Revision control

Copy as Markdown

Other Tools

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/**
* developer.apple.com - content of the page is shifted to the left
* WebCompat issue #4070 - https://webcompat.com/issues/4070
*
* The site is relying on zoom property which is not supported by Mozilla,
* of transform: scale(1.4), transform-origin and width fixes the issue
*/
@media only screen and (min-device-width: 320px) and (max-device-width: 980px),
(min-device-width: 1024px) and (max-device-width: 1024px) and (min-device-height: 1366px) and (max-device-height: 1366px) and (min-width: 320px) and (max-width: 980px) {
#tocContainer {
transform-origin: 0 0;
transform: scale(1.4);
width: 71.4%;
}
}