Commit 2df6275d authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Align center group's field on the left group's field

parent 3d0114c0
......@@ -917,9 +917,6 @@ div[data-gadget-scope='header'] .ui-header ul a {
display: inline-block;
width: 50%;
}
.gadget-content .left {
padding-right: 2%;
}
.gadget-content .right {
padding-left: 2%;
}
......@@ -944,6 +941,11 @@ div[data-gadget-scope='header'] .ui-header ul a {
flex: 3;
}
}
@media only screen and (min-width: 62em) {
.gadget-content .center .ui-field-contain label + div {
flex: 7;
}
}
@media only screen and (max-width: 28em) {
.gadget-content .ui-field-contain {
padding: 0.8em 0;
......
......@@ -236,7 +236,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>952.51887.37105.17459</string> </value>
<value> <string>952.52941.50188.56166</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>1469518656.63</float>
<float>1469520994.41</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -1051,9 +1051,6 @@ div[data-gadget-scope='header'] .ui-header {
display: inline-block;
width: 50%;
}
.left {
padding-right: 2%;
}
.right {
padding-left: 2%;
}
......@@ -1080,6 +1077,16 @@ div[data-gadget-scope='header'] .ui-header {
}
}
}
@media @desktop {
// Align field on the left group's field
.center {
.ui-field-contain {
label + div {
flex: 7;
}
}
}
}
@media @smartphone {
.ui-field-contain {
......
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