Closed Bug 1651917 Opened 5 years ago Closed 5 years ago

Creates CSS intervention for teletrader.com

Categories

(Web Compatibility :: Interventions, task, P1)

Unspecified
Android

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: karlcow, Assigned: karlcow)

References

(Depends on 1 open bug, )

Details

Attachments

(1 file)

The website is off to the right, with a large border on the left and top
https://www.teletrader.com/

@media only screen and (orientation : portrait) and (max-device-width: 800px) {
    body {
        -webkit-transform: scale(1.3);
        -webkit-transform-origin-x: 0px;
        -webkit-transform-origin-y: 0px;
    }

    .configurator-holder { margin-left: 210px;margin-top: 85px;}
}

@media only screen and (orientation : portrait) {
    body {
        -webkit-transform: scale(0.65);
        -webkit-transform-origin-x: 0px;
        -webkit-transform-origin-y: 0px;
    }

}


@media only screen and (orientation : landscape)  and (max-device-width: 980px){
    body {
        -webkit-transform: scale(1.91);
        -webkit-transform-origin-x: 0px;
        -webkit-transform-origin-y: 0px;
    }
}

@media only screen and (orientation : landscape)  and (max-device-width: 1025px){
    body {
        -webkit-transform: scale(1);
        -webkit-transform-origin-x: 0px;
        -webkit-transform-origin-y: 0px;
    }


}

As Firefox does not implement

        -webkit-transform-origin-x: 0px;
        -webkit-transform-origin-y: 0px;

adding

body { transform-origin: 0 0; }

will solve the issue.

Attached file GitHub Pull Request
Blocks: 1647771
No longer blocks: 1625222
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
See Also: → 1888402
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: