Giter Site home page Giter Site logo

Comments (8)

metalgigio avatar metalgigio commented on May 18, 2024 1

Yes, it works.
i've even tried this code that works correctly too:

html, body { margin: 0 auto !important; padding: 0 !important; height: 100% !important; width: 100% !important; }

from cerberus.

TedGoas avatar TedGoas commented on May 18, 2024

@metalgigio thanks so much for flagging this? Any chance you have before / after screenshots?

from cerberus.

TedGoas avatar TedGoas commented on May 18, 2024

@metalgigio Thanks so much for uncovering a bug. I don't have a samsung s6/s7 email app to test on. I tested the code above but found that it breaks the margins on the Android 4.4 stock email browser. Have you experienced this?

android4-vertical-allowed-1366

from cerberus.

metalgigio avatar metalgigio commented on May 18, 2024

Hi,
i will post a screenshot asap.

from cerberus.

metalgigio avatar metalgigio commented on May 18, 2024

Before:

screenshot_20160418-092253

After:

screenshot_20160418-092331

from cerberus.

TedGoas avatar TedGoas commented on May 18, 2024

@metalgigio thanks for pointing this out. I did some testing and found only resetting the body margin is necessary, so I separated html and body resets. Please let me know if your issue persists.

from cerberus.

metalgigio avatar metalgigio commented on May 18, 2024

Hi, the solution u provide did not solve the bad visualizzation on s6/s7.

from cerberus.

TedGoas avatar TedGoas commented on May 18, 2024

@metalgigio Does this code fix it on your device?

Change this:
html, body { margin: 0 !important; padding: 0 !important; height: 100% !important; width: 100% !important; }

to this:
body { margin: 0 auto !important; padding: 0 !important; height: 100% !important; width: 100% !important; }

from cerberus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.