Comments (8)
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.
@metalgigio thanks so much for flagging this? Any chance you have before / after screenshots?
from cerberus.
@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?
from cerberus.
Hi,
i will post a screenshot asap.
from cerberus.
Before:
After:
from cerberus.
@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.
Hi, the solution u provide did not solve the bad visualizzation on s6/s7.
from cerberus.
@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)
- Safe to remove Gmail-targeting CSS? HOT 1
- Responsive Problem HOT 1
- Using Cerberus on a primitive platform HOT 7
- Dark Mode
- Improved Documentation Site HOT 1
- Data tables
- Why duplicating styles for Button in hybrid template? HOT 12
- Parametrized minimalistic template engine HOT 2
- Images are HUGE on android phone Outlook App. HOT 2
- Missing word in documentation? HOT 1
- Fix site favicon
- Preview each template in Parcel
- Template issue when forwarding a sent email from Outlook to Gmail on iphone HOT 7
- Responsive Template: 1px line in Full Bleed Background Section in Outlook 2019 HOT 2
- MSO 365 Button Fill Color HOT 3
- Missing last line of Outlook conditional CSS
- Q: Do columns work with Outlook 16.69.1 Mac OS? HOT 6
- Darkmode / Lightmode confused by multiple appearance preferences in outlook.com HOT 7
- Looks like the website is broken (`hljs is not defined`) HOT 2
- Website/Parcel links point at templates from master, not main HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cerberus.