Commit f72c2f6f authored by Pat Kira's avatar Pat Kira

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

behatnotneeded - Styling only

Change-Id: I2baac867faac11194d06c4cdb534e96d6bb30672
parent a58fedf0
......@@ -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 {
......
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