mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-17 22:36:35 +00:00
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:
parent
d4b257854d
commit
294dec59a7
@ -1,8 +1,16 @@
|
|||||||
<link rel="import" href="../../bower_components/polymer/polymer.html">
|
<link rel="import" href="../../bower_components/polymer/polymer.html">
|
||||||
|
<link rel="import" href="../../bower_components/paper-styles/paper-styles.html">
|
||||||
|
|
||||||
<custom-style>
|
<custom-style>
|
||||||
<style is="custom-style">/* remove is= on Polymer 2 */
|
<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;
|
font-size: 14px;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
|
|
||||||
@ -157,4 +165,4 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</template>
|
</template>
|
||||||
</dom-module>
|
</dom-module>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user