Volafile / volafile-bugs

Volafile.org public bug tracker
17 stars 2 forks source link

modlog broken/too wide #203

Closed RealDolos closed 1 month ago

RealDolos commented 7 years ago

STR:

Result: Mod log table becomes to wide, overflows "off screen" (truncated); the breakword class does not actually work

Suggested fix:

Using table-layout: fixed would do it, but then you need to also either manually set width on the first table row cells (th in this case) or do so in CSS

dolosfile works around this now by:


.page_admin_modlog table {
    table-layout: fixed;
    width: 100%;
}
.page_admin_modlog table th:nth-child(1) {
    width: 15%;
}
.page_admin_modlog table th:nth-child(3) {
    width: 62%;
}
.page_admin_modlog table th:nth-child(4) {
    width: 7ex;
}