Skip to content
Snippets Groups Projects
Commit 5cc7aa73 authored by Daniel Gerhardt's avatar Daniel Gerhardt
Browse files

Fix layout problems in Firefox 49+

Firefox 49 introduces support for non-standard `-webkit`-prefixed CSS
properties. This breaks Sencha Touchs layouting CSS.

https://hacks.mozilla.org/2016/09/firefox-49-fixes-sites-designed-with-webkit-in-mind-and-more/

Additional CSS has been introduced for Firefox to ignore problematic
`-webkit` properties.
parent c278c746
No related merge requests found
......@@ -65,3 +65,20 @@ body.x-android.splashscreenClosed {
body.x-windows {
touch-action: none !important;
}
body.x-firefox {
/* Override bad CSS code of Sencha Touch which breaks layout in Firefox 49+.
* See https://hacks.mozilla.org/2016/09/firefox-49-fixes-sites-designed-with-webkit-in-mind-and-more/
*/
.x-button, .x-layout-box {
display: flex;
}
.x-layout-box > .x-layout-box-item {
display: flex !important;
}
.x-stretched.x-container > .x-inner, .x-stretched.x-container > .x-body, .x-stretched.x-container > .x-body > .x-inner {
display: flex !important;
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment