diff --git a/media/css/seahub.css b/media/css/seahub.css index 949630dc04..2c958a7a6f 100644 --- a/media/css/seahub.css +++ b/media/css/seahub.css @@ -232,7 +232,7 @@ a.table-sort-op { } a.mobile-table-sort-op { display:inline-block; - margin: 0 5px 0 10px; + margin: 0 7px 0 10px; } a.table-sort-op:hover, a.table-sort-op:focus { @@ -568,6 +568,12 @@ a.op-icon:focus { margin-top:4px; font-size:12px; } +@media (max-width:767px) { + .more-op-icon { + padding:6px; + margin:0; + } +} .big-more-btn { padding:.5em 0; color:#777; @@ -2196,6 +2202,12 @@ button.sf-dropdown-toggle:focus { .repo-file-list .dirent-name { display:inline-block; } +@media (max-width:767px) { + .repo-file-list .dirent-name, + .repo-file-list .img-name-link { + display:block; + } +} .repo-file-list .file-locked-icon { position:absolute; right:0; diff --git a/seahub/templates/js/templates.html b/seahub/templates/js/templates.html index 416c4d4521..706bc81856 100644 --- a/seahub/templates/js/templates.html +++ b/seahub/templates/js/templates.html @@ -86,9 +86,6 @@ <%= mtime_relative %> - <% } else { %> - {% trans "Broken (please contact your administrator to fix this library)" %} - <% } %>
@@ -112,6 +109,10 @@
+ <% } else { %> + {% trans "Broken (please contact your administrator to fix this library)" %} + + <% } %>