Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Anyway to wrap long filenames ?
i notice when a file name is longer the extra characters are hidden is there a way to wrap it below the top line ?
ie
from this > the name of my file is text
to this > the name of
my file is text
0
This discussion has been closed.
Comments
white-space: pre-wrap; /* css-3 */ white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */ white-space: -pre-wrap; /* Opera 4-6 */ white-space: -o-pre-wrap; /* Opera 7 */ word-wrap: break-word; /* Internet Explorer 5.5+ */
In the CSS file, I removed
white-space
andoverflow
declarations from the.ItemName
and.ItemName a
items, then added the above code. Seems to be working fine for me so far, though this probably won't work if you have long strings of continuous text with no breaks where the CSS would wrap your line.It might be more complicated than you'd like, but if you have long strings that won't wrap, check out regular expressions.
Line 699 reads:
$Return .= "<li class=\"ItemName\">\r\n";
Add the following code after line 699 but before the $Return assignment:
$Name = str_replace("-", "-<wbr>", $Name);