修复了一些样式问题

This commit is contained in:
yangjian 2019-11-03 21:23:15 +08:00
parent 8e4ab81b50
commit ac8441f843
2 changed files with 5 additions and 1 deletions

View File

@ -44,7 +44,7 @@
.project-item{
float: left;
width: 200px;
/*height: 120px;*/
height: 140px;
margin-top: 20px;
margin-left: 20px;
border: 1px solid #ddd;

View File

@ -60,8 +60,12 @@
<div class="layui-card-body">
<p>作者:{{p.create_user}}</p>
<p class="tooltip">简介:
{% if p.intro == "" %}
<span class="">此文集没有填写简介</span>
{% else %}
<span class="">{{ p.intro | slice:'16' }}…</span>
<span class="tooltip-content clearfix">{{ p.intro }}</span>
{% endif %}
</p>
<p></p>
</div>