Commit 8973c8f5 by vietdo

#16037 Web版 リスト表示でコンテンツ名の表示文字数が少ない

parent f890018c
......@@ -91,10 +91,12 @@ section.sectionhistory .cnt_section_list:hover{
}
.cnt_section_list .text a div.test1{
width: 300px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
overflow: hidden;
text-overflow: ellipsis;
-webkit-text-overflow: ellipsis;
-o-text-overflow: ellipsis;
white-space: nowrap;
width: 600px;
}
.cnt_section_list .text a.name img
......
......@@ -56,6 +56,12 @@ section.sectionhomelist .cnt_section_list:hover{
color: #37648C;
font-size: 16px;
}
.cnt_section_list .text a .content-list{
width:420px;
white-space: nowrap; /* 改行を半角スペースに置き換える */
overflow: hidden; /* はみだした部分を削除する */
text-overflow: ellipsis;
}
.cnt_section_list .text a.name:hover{ text-decoration:none;}
......
......@@ -141,7 +141,7 @@ section.sectionBookmark .cnt_section:hover{
text-decoration:none;
}
.cnt_section .text a.name div.pageTitle{
width:400px;
width:550px;
white-space: nowrap; /* 改行を半角スペースに置き換える */
overflow: hidden; /* はみだした部分を削除する */
text-overflow: ellipsis;
......
......@@ -1683,8 +1683,9 @@ HOME.renderContent = function(id, text, division, type, order, from, to, cateid,
+ ' </a>'
+ ' <div class="text">'
+ ' <a id="title' + post.contentId + '" class="dialog name lang" lang="lblTitle" contentid="' + post.contentId + '">'
+ ' <img class="listIcon" src="' + HEADER.getIconTypeContent(post.contentType)+'" width="20" height="20">'
+ COMMON.truncate(COMMON.htmlEncode(post.contentTitle), 20)
+ ' <img class="listIcon" src="' + HEADER.getIconTypeContent(post.contentType)+'" width="20" height="20" align="left">'
// + COMMON.truncate(COMMON.htmlEncode(post.contentTitle), 20)
+ ' <div class="content-list">'+post.contentTitle+'</div>'
+ ' </a>'
+ ' <div class="info">'
+ ' <ul class="date">'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment