Commit 2840e0ed authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Hide the top pagination info on mobile

parent bbb5d569
...@@ -1341,6 +1341,14 @@ div[data-gadget-scope='erp5_searchfield'] div.search_parsed_value button { ...@@ -1341,6 +1341,14 @@ div[data-gadget-scope='erp5_searchfield'] div.search_parsed_value button {
flex: 2; flex: 2;
align-self: flex-end; align-self: flex-end;
} }
@media not screen and (min-width: 45em) {
.document_table .ui-table-header h1 span.listboxloader {
display: none;
}
.document_table .ui-table-header h1 span.listboxloader.ui-icon-spinner {
display: initial;
}
}
.document_table .ui-table-header button { .document_table .ui-table-header button {
padding: 3pt; padding: 3pt;
border: 1px solid rgba(0, 0, 0, 0.14); border: 1px solid rgba(0, 0, 0, 0.14);
......
...@@ -242,7 +242,7 @@ ...@@ -242,7 +242,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>965.41949.31139.17681</string> </value> <value> <string>965.42456.41629.30583</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -260,7 +260,7 @@ ...@@ -260,7 +260,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1519201856.02</float> <float>1519232300.75</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -1566,7 +1566,19 @@ div[data-gadget-scope='erp5_searchfield'] { ...@@ -1566,7 +1566,19 @@ div[data-gadget-scope='erp5_searchfield'] {
color: @grey; color: @grey;
flex: 2; flex: 2;
align-self: flex-end; align-self: flex-end;
// Hide the pagination info next to the listbox title
@media @smartphone {
span.listboxloader {
display: none;
&.ui-icon-spinner {
// Show the loader
display: initial;
}
} }
}
}
button { button {
padding: @half-margin-size; padding: @half-margin-size;
border: 1px solid rgba(0, 0, 0, 0.14); border: 1px solid rgba(0, 0, 0, 0.14);
......
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