Commit 2e02af9a authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Add class table responsive to admin add link table (bug: 1514281)"

parents 1d607058 f72c2f6f
......@@ -63,7 +63,8 @@ function displaymenuitems(itemlist) {
var rows = map(formatrow,itemlist);
var form = FORM({'id':'form','method':'post','enctype':'multipart/form-data',
'encoding':'multipart/form-data', 'name':'linksandresourcesform'},
TABLE({'class':'nohead table table-striped'},THEAD(null,[thead]), TBODY(null,[rows,addform()])));
DIV({'class':'table-responsive'},
TABLE({'class':'nohead table table-striped'},THEAD(null,[thead]), TBODY(null,[rows,addform()]))));
replaceChildNodes($('menuitemlist'),form);
}
......
......@@ -116,6 +116,16 @@ td.tiny {
small {
font-size: $font-size-base - 2;
}
// admin configure site add link table
&.nohead {
th:not(:last-child) {
min-width: 150px;
@media (min-width: $screen-sm-min) {
min-width: auto;
}
}
}
}
.table-hover {
......
Supports Markdown
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