1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-20 07:21:30 +02:00

[ticket/12332] Fix displaying attachments with long file names

PHPBB3-12332
This commit is contained in:
Matt Friedman
2014-04-25 11:26:49 -07:00
parent fe768d460d
commit 770ab13cb0
8 changed files with 31 additions and 10 deletions

View File

@@ -779,6 +779,17 @@ div.dl_links {
display: inline-block;
}
.attachment-filename {
width: 100%;
}
.ellipsis-text {
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* Show scrollbars for items with overflow on iOS devices
----------------------------------------*/
.postbody .content::-webkit-scrollbar, #topicreview::-webkit-scrollbar, #post_details::-webkit-scrollbar, .codebox code::-webkit-scrollbar, .attachbox dd::-webkit-scrollbar, .attach-image::-webkit-scrollbar, .dropdown-extended ul::-webkit-scrollbar {

View File

@@ -74,3 +74,8 @@
height: 16px;
width: 16px;
}
.file-name {
max-width: 65%;
vertical-align: bottom;
}