GitHub user MrRaindrop opened a pull request:

    https://github.com/apache/incubator-weex/pull/924

    [WEEX-156][web] bugfix: the unit wx doesn't work correctly

    > [WEEX-156][web] bugfix: the unit wx doesn't work correctly
    
    Since the wx unit was designed to match the native unit px, so the '1wx'
    should be the same long in any devices or any screens. It doesn't adapt
    to screens by multiply a ratio which is weex.config.env.scale. Just
    keep them in px forms and be their original values.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MrRaindrop/incubator-weex html5-bugfix-wx

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-weex/pull/924.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #924
    
----
commit 76541c0674918736cb23e19bffaa335c78bc66a9
Author: MrRaindrop <tekk...@gmail.com>
Date:   2017-11-29T07:40:40Z

    * [html5] bugfix: the unit wx doesn't work correctly.
    
    Since the wx unit was designed to match the native unit px, so the '1wx'
    should be the same long in any devices or any screens. It doesn't adapt
    to screens by multiply a ratio which is `weex.config.env.scale`. Just
    keep them in px forms and be their original values.

----


---

Reply via email to