1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-29 00:40:57 +01:00

Conpherence - tweak file display

Summary: using chrome and safari and the mighty "YAYAYAYAYAYAYAYAYAYAYAYAYAYAYAYAYAYAYAYAYAYAYA.gif", tweak _shorten and CSS to get display just right

Test Plan: will upload screenies

Reviewers: epriestley, chad

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T2399

Differential Revision: https://secure.phabricator.com/D5383
This commit is contained in:
Bob Trahan 2013-03-19 15:54:22 -07:00
parent 3f708710eb
commit b78fb12324
2 changed files with 3 additions and 2 deletions

View file

@ -39,7 +39,7 @@ final class ConpherenceFileWidgetView extends AphrontView {
'');
$file_view = id(new PhabricatorFileLinkView())
->setFilePHID($file->getPHID())
->setFileName(phutil_utf8_shorten($file->getName(), 38))
->setFileName(phutil_utf8_shorten($file->getName(), 28))
->setFileViewable($file->isViewableImage())
->setFileViewURI($file->getBestURI())
->setCustomClass('file-title');

View file

@ -84,11 +84,12 @@
float: left;
}
.conpherence-widget-pane #widgets-files .file-title {
display: block;
position: relative;
top: -4px;
left: 20px;
overflow-x: hidden;
width: 270px;
width: 256px;
font-weight: bold;
}
.conpherence-widget-pane #widgets-files .file-uploaded-by {