Fix display issues on iOS 9.3.5 (#901)

* Fix global default definition selector

* taking the brute force approach

* Some clarification in comment.
Feel free to change or remove. I thought this would be usefull as this
is a severe code duplacation that justifies some comment/clarification.

* Add link to PR/discussion for future reference

* Revert "taking the brute force approach"

This reverts commit 77d9920cd9c2c77c4bfc9a601c122e31e55ec6a4.

# Conflicts:
#	src/resources/ha-style.html

* change comment

* always include paper-styles before custom style
This commit is contained in:
NovapaX 2018-02-27 01:16:39 +01:00 committed by Paulus Schoutsen
parent d4b257854d
commit 294dec59a7

View File

@ -1,8 +1,16 @@
<link rel="import" href="../../bower_components/polymer/polymer.html">
<link rel="import" href="../../bower_components/paper-styles/paper-styles.html">
<custom-style>
<style is="custom-style">/* remove is= on Polymer 2 */
body {
/*
Home Assistant default styles.
In Polymer 2.0, default styles should to be set on the html selector.
(Setting all default styles only on body breaks shadyCSS polyfill.)
See: https://github.com/home-assistant/home-assistant-polymer/pull/901
*/
html {
font-size: 14px;
height: 100vh;