Commit 710bab7c authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Display desktop mode on chromebook when maximized

parent a620ef82
......@@ -242,7 +242,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>958.18776.46267.41045</string> </value>
<value> <string>958.19701.31404.5597</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -260,7 +260,7 @@
</tuple>
<state>
<tuple>
<float>1490632830.94</float>
<float>1490687640.52</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -223,7 +223,7 @@
event,
context = this;
function extractSizeAndDispatch() {
if (window.matchMedia("(min-width: 90em)").matches) {
if (window.matchMedia("(min-width: 85em)").matches) {
return context.changeState({
desktop: true
});
......
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>957.46809.34243.17971</string> </value>
<value> <string>958.19723.40120.16469</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1488381715.57</float>
<float>1490688736.61</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -48,8 +48,8 @@
// @panelwidth: 15em;
@smartphone: ~"not screen and (min-width: 45em)";
@tablet: ~"only screen and (min-width: 45em) and (max-width: 90em)";
@desktop: ~"not screen and (max-width: 90em)";
@tablet: ~"only screen and (min-width: 45em) and (max-width: 85em)";
@desktop: ~"not screen and (max-width: 85em)";
/**********************************************
......
Markdown is supported
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