Added a note for missing <!DOCTYPE html> issues

I have had layout issues on Safari and after debugging I found, that the issue was related to a missing `<!DOCTYPE html>` in my application.

After searching through the Elm Slack channel I saw that many people experienced the same issue.

This PR adds a note to the documentation stating that a missing `<!DOCTYPE html>` might cause issues, to save a lot of time for a lot of people.
This commit is contained in:
Enrico Scherlies 2021-05-16 16:45:46 +02:00 committed by GitHub
parent 7919c5e4f4
commit 02d6391e5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,6 +66,10 @@ The work is based off of a rewrite of the [Style Elements](https://github.com/md
The community around `elm-ui` is maintaining a collection of examples called the [elm-ui-cookbook](https://github.com/rofrol/elm-ui-cookbook). If you are just starting out with `elm-ui`, or get stuck on specific things, this can be a great resource.
## Notes
Make sure to have `<!DOCTYPE html>` on top of your application; otherwise, things might get messed up in some browsers.
## Contributing
Want to help out fixing bugs or reporting issues?