Commit 75c86bab authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Bypass flexbox bug on firefox

parent f1012ed7
...@@ -612,13 +612,18 @@ div[data-gadget-scope='header'] .ui-header { ...@@ -612,13 +612,18 @@ div[data-gadget-scope='header'] .ui-header {
position: fixed; position: fixed;
z-index: 1000; z-index: 1000;
text-align: center; text-align: center;
display: flex;
width: 100%; width: 100%;
flex-flow: row wrap;
color: #FFFFFF; color: #FFFFFF;
} }
@media only screen and (min-width: 28em) and (max-width: 62em), only screen and (max-width: 28em) {
div[data-gadget-scope='header'] .ui-header {
display: flex;
flex-flow: row wrap;
}
}
@media only screen and (min-width: 62em) { @media only screen and (min-width: 62em) {
div[data-gadget-scope='header'] .ui-header { div[data-gadget-scope='header'] .ui-header {
display: table;
margin-left: 17em; margin-left: 17em;
} }
} }
...@@ -682,7 +687,7 @@ div[data-gadget-scope='header'] .ui-header > .ui-btn-right a { ...@@ -682,7 +687,7 @@ div[data-gadget-scope='header'] .ui-header > .ui-btn-right a {
} }
@media only screen and (min-width: 62em) { @media only screen and (min-width: 62em) {
div[data-gadget-scope='header'] .ui-header > .ui-btn-right { div[data-gadget-scope='header'] .ui-header > .ui-btn-right {
order: 99; display: table-footer-group;
} }
div[data-gadget-scope='header'] .ui-header > .ui-btn-right button, div[data-gadget-scope='header'] .ui-header > .ui-btn-right button,
div[data-gadget-scope='header'] .ui-header > .ui-btn-right a { div[data-gadget-scope='header'] .ui-header > .ui-btn-right a {
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>952.46193.43042.64221</string> </value> <value> <string>952.47272.27712.13038</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -254,7 +254,7 @@ ...@@ -254,7 +254,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1469116036.02</float> <float>1469180891.44</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -688,15 +688,18 @@ div[data-gadget-scope='header'] .ui-header { ...@@ -688,15 +688,18 @@ div[data-gadget-scope='header'] .ui-header {
z-index: 1000; z-index: 1000;
text-align: center; text-align: center;
display: flex; @media @tablet, @smartphone {
// Prevent the header to have a width higher than the screen display: flex;
width: 100%; flex-flow: row wrap;
flex-flow: row wrap; }
@media @desktop { @media @desktop {
display: table;
margin-left: @panelwidth; margin-left: @panelwidth;
} }
// Prevent the header to have a width higher than the screen
width: 100%;
color: @white; color: @white;
button, a { button, a {
...@@ -755,7 +758,7 @@ div[data-gadget-scope='header'] .ui-header { ...@@ -755,7 +758,7 @@ div[data-gadget-scope='header'] .ui-header {
} }
} }
@media @desktop { @media @desktop {
order: 99; display: table-footer-group;
button, a { button, a {
margin: 0.5em; margin: 0.5em;
// XXX TODO: same than main page padding // XXX TODO: same than main page padding
......
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