Commit 88baf51f by vietdo

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

parent 31333064
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
</style> </style>
</head> </head>
<body id="contentsearch" oncontextmenu="return false;"> <body id="contentsearch" oncontextmenu="return false">
<header id="header-ws" class="header_ws"> <header id="header-ws" class="header_ws">
<div class="notification-pushmessage" style="display:none;"> <div class="notification-pushmessage" style="display:none;">
<!--新着メッセージがあります!!!--> <!--新着メッセージがあります!!!-->
......
...@@ -122,6 +122,15 @@ ...@@ -122,6 +122,15 @@
} }
.cnt_section_list .text a.name{ .cnt_section_list .text a.name{
} }
.cnt_section_list .text a.name .contentsearch_title{
overflow: hidden;
text-overflow: ellipsis;
-webkit-text-overflow: ellipsis;
-o-text-overflow: ellipsis;
white-space: nowrap;
width: 600px;
margin-left: 30px;
}
.cnt_section_list .text a.name img .cnt_section_list .text a.name img
{ {
float:left; float:left;
......
...@@ -374,7 +374,7 @@ section.sectionhistory .cnt_section_list:hover{ ...@@ -374,7 +374,7 @@ section.sectionhistory .cnt_section_list:hover{
display: -ms-inline-grid; display: -ms-inline-grid;
} }
.cnt_section_list .text a div.test1{ .cnt_section_list .text a div.history_title{
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
-webkit-text-overflow: ellipsis; -webkit-text-overflow: ellipsis;
......
...@@ -233,7 +233,8 @@ CONTENTSEARCH.renderContent = function(id, text, division, type, order, from, to ...@@ -233,7 +233,8 @@ CONTENTSEARCH.renderContent = function(id, text, division, type, order, from, to
+ ' <div class="text">' + ' <div class="text">'
+ ' <a id="title' + post.contentId + '" class="name dialog" contentid="' + post.contentId + '">' + ' <a id="title' + post.contentId + '" class="name dialog" contentid="' + post.contentId + '">'
+ ' <img class="listIcon" src="' + HEADER.getIconTypeContent(post.contentType)+'" width="20" height="20">' + ' <img class="listIcon" src="' + HEADER.getIconTypeContent(post.contentType)+'" width="20" height="20">'
+ COMMON.truncate(COMMON.htmlEncode(post.contentTitle), 20) // + COMMON.truncate(COMMON.htmlEncode(post.contentTitle), 20)
+ ' <div class="contentsearch_title">'+post.contentTitle+'</div>'
+ ' </a>' + ' </a>'
+ ' <div class="info">' + ' <div class="info">'
+ ' <ul class="date">' + ' <ul class="date">'
......
...@@ -1379,7 +1379,7 @@ HISTORY.renderContentAfterSort = function(contentSortArr){ ...@@ -1379,7 +1379,7 @@ HISTORY.renderContentAfterSort = function(contentSortArr){
+ ' <a id="title' + post.contentid + '" class="name dialog" contentid="' + post.contentid + '">' + ' <a id="title' + post.contentid + '" class="name dialog" contentid="' + post.contentid + '">'
+ ' <img class="listIcon" src="' + HEADER.getIconTypeContent(post.contenttype)+'" width="20" height="20" align="left">' + ' <img class="listIcon" src="' + HEADER.getIconTypeContent(post.contenttype)+'" width="20" height="20" align="left">'
// + COMMON.truncate(COMMON.htmlEncode(post.contenttitle), 20) // + COMMON.truncate(COMMON.htmlEncode(post.contenttitle), 20)
+ ' <div class="test1">'+post.contenttitle+'</div>' + ' <div class="history_title">'+post.contenttitle+'</div>'
+ ' </a>' + ' </a>'
+ ' <div class="info">' + ' <div class="info">'
+ ' <ul class="date">' + ' <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