add word-break class to output of orig filename

breaking long filenames will leave more space for the preview image
This commit is contained in:
Uwe Steinmann 2015-10-27 11:41:02 +01:00
parent fa0e365375
commit aa1f10af1c
2 changed files with 5 additions and 1 deletions

View File

@ -45,6 +45,10 @@ ul.tree, ul.tree ul {
margin-left: 20px;
}
.wordbreak {
word-break: break-word;
}
.btn-file {
position: relative;
overflow: hidden;

View File

@ -377,7 +377,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
print "</td>\n";
print "<td><ul class=\"actions unstyled\">\n";
print "<li>".$latestContent->getOriginalFileName() ."</li>\n";
print "<li class=\"wordbreak\">".$latestContent->getOriginalFileName() ."</li>\n";
print "<li>".getMLText('version').": ".$latestContent->getVersion()."</li>\n";
if ($file_exists)