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 {
flex: 2;
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 {
padding: 3pt;
border: 1px solid rgba(0, 0, 0, 0.14);
......
......@@ -242,7 +242,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>965.41949.31139.17681</string> </value>
<value> <string>965.42456.41629.30583</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -260,7 +260,7 @@
</tuple>
<state>
<tuple>
<float>1519201856.02</float>
<float>1519232300.75</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -1566,7 +1566,19 @@ div[data-gadget-scope='erp5_searchfield'] {
color: @grey;
flex: 2;
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 {
padding: @half-margin-size;
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