Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Scale container with CSS transform instead of zoom #111

Closed

Conversation

kemenaran
Copy link

The CSS zoom property is not standard — and doesn't work in Firefox (https://developer.mozilla.org/en-US/docs/Web/CSS/zoom). This MR scales down the test container with a CSS transform instead, which fixes the scaling on Firefox.

Tested in Chrome 48, Firefox 46 and Safari 9.

The CSS `zoom` property is not standard — and doesn't work in Firefox (https://developer.mozilla.org/en-US/docs/Web/CSS/zoom). This MR scales down the test container with a CSS transform instead, which fixes the scaling on Firefox.

Tested in Chrome 48, Firefox 46 and Safari 9.
@rwjblue
Copy link
Member

rwjblue commented Mar 24, 2016 via email

@@ -11,5 +11,8 @@
margin: 0 auto;
}
#ember-testing {
zoom: 50%;
width: 200%;
height: 100%;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we want a specified height. Current behavior is that #ember-testing should grow as the content does so that way we still get scroll bars and such.

@trentmwillis
Copy link
Member

One comment, but otherwise this seems good. From messing around with it, this seems to address #48.

@trentmwillis
Copy link
Member

Included in #123.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants