通知圖像:ADMIN LTE通知下拉不包裹內容
從上面的圖片很明顯,通知面板不包裹message
的內容。裏面內容的實際文字很長,這是
saurabh raised first request to review Task 'ABCDE NOV 2017' with Assignment ID 'Qg9hBNSTozkExpTYn'
下面是我使用的顯示通知的代碼。
<li class="dropdown notifications-menu">
<a href="#" class="dropdown-toggle" id="notificationLink" data-toggle="dropdown"></a>
<ul class="dropdown-menu">
<li>
<ul class="menu">
{{#each notifications}}
<li>
<a href="#">
<small><strong>{{title}}</strong></small>
<div class="pull-right">
<small style="pull-right">
<i class="fa fa-clock-o"></i> {{createdAt}}
</small>
</div>
<div class="row pull-left">
<p>{{message}}</p>
</div>
</a>
</li>
{{/each}}
</ul>
</li>
</ul>
</li>
任何想法如何包裝文本?
您可以查看頁面here
也許,你可以展示的jsfiddle一起工作的例子嗎? – Styx
@styx:您只需點擊此處https://adminlte.io/themes/AdminLTE/index2.html –