通知图像: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 –