1、当问卷描述过长,显示超过页面

2、描述未对齐
This commit is contained in:
sw 2015-03-27 16:11:56 +08:00
parent 8374ba1995
commit 6a9abf12b9
2 changed files with 3 additions and 4 deletions

View File

@ -4,9 +4,7 @@
<h1 class="ur_page_title"> <h1 class="ur_page_title">
<%= @poll.polls_name%> <%= @poll.polls_name%>
</h1> </h1>
<p class="ur_prefix_content"> <%= @poll.polls_description.nil? ? "" : @poll.polls_description.html_safe%>
<%= @poll.polls_description.nil? ? "" : @poll.polls_description.html_safe%>
</p>
</div> </div>
<div class="ur_card"> <div class="ur_card">

View File

@ -24,7 +24,8 @@ a:hover.pollsbtn{ background:#64bdd9; color:#fff; text-decoration:none;}
/*问卷页面*/ /*问卷页面*/
.polls_box{ border:1px solid #dcdcdc; padding:15px 30px;} .polls_box{ border:1px solid #dcdcdc; padding:15px 30px;}
.ur_page_title{ font-size:16px; text-align:center; color:#353535;} .ur_page_title{ font-size:16px; text-align:center; color:#353535;word-break: break-all;word-wrap: break-word;}
#polls div{word-break: break-all;word-wrap: break-word;}
.ur_prefix_content{ color:#656565; text-indent:30px; margin-top:10px; } .ur_prefix_content{ color:#656565; text-indent:30px; margin-top:10px; }
.ur_card{border-top:1px solid #dcdcdc;margin-top:20px; color:#3a3a3a;} .ur_card{border-top:1px solid #dcdcdc;margin-top:20px; color:#3a3a3a;}
.ur_title{ padding:20px 0px ; float:left; width:604px; } .ur_title{ padding:20px 0px ; float:left; width:604px; }