【发布时间】:2020-07-04 05:29:03
【问题描述】:
每个人。 我需要一个建议。我是新来的。 我有 li 元素。
<li class="list-group-item py-4 ">
<div class="row">
<div class="col-md-2">
{{ form.about_yourself.label }}
</div>
<div class="col-md-8">
<strong> {{ person.about_yourself }} </strong>
</div>
<div class="col-md-2">
<a href="{% url 'get_phone' %}" type="button" class="btn btn-primary float-right btn-sm" > Change </a>
</div>
</div>
</li>
我有这个(图片) enter image description here 但是我希望行之间没有空间。换句话说,我希望行具有自动大小,就像那样。 enter image description here 谢谢!
【问题讨论】:
标签: html css bootstrap-4 grid html-lists