Browse Source

ban page: remove max-height from table rows, since it doesn't work anyway

pull/107/head
Zankaria 3 months ago
parent
commit
5c0d0a8ca1
  1. 4
      js/longtable/longtable.js
  2. 2
      js/mod/ban-list.js

4
js/longtable/longtable.js

@ -46,10 +46,6 @@ $.fn.longtable = function(fields, options, data) {
}
el.css("width", fields[field].width);
if (fields[field].max_height) {
el.css("max-height", fields[field].max_height);
}
return el;
},
_gen_tr: function(id) {

2
js/mod/ban-list.js

@ -36,7 +36,7 @@ var banlist_init = function(token, my_boards, inMod) {
}
return pre+f.mask;
} },
reason: {name: _("Reason"), width: "40%", max_width: "40%", max_height: "240px", handle_longwords: true, fmt: function(f) {
reason: {name: _("Reason"), width: "40%", max_width: "40%", handle_longwords: true, fmt: function(f) {
var add = "", suf = '';
if (f.seen == 1) add += "<i class='fa fa-check' title='"+_("Seen")+"'></i>";
if (f.message) {

Loading…
Cancel
Save