Fix filter list layout in brutstrap

This commit is contained in:
Jason McBrayer 2019-02-16 10:53:46 -05:00
parent 5061800d69
commit 333976dae5
2 changed files with 40 additions and 28 deletions

View File

@ -319,6 +319,18 @@ figure.level-item > video
max-width: 256px; max-width: 256px;
} }
table {
border-collapse: collapse;
border-spacing: 0;
}
td, th
{
padding: 0.25em;
border: 1px solid #444;
}
td.empty-cell, th.empty-cell { border: none; }
@media screen and (max-width: 768px) { @media screen and (max-width: 768px) {
.box { .box {
max-width: 90%; max-width: 90%;

View File

@ -12,7 +12,7 @@
<th>Filter contexts</th> <th>Filter contexts</th>
<th></th> <th></th>
<th></th> <th></th>
<th></th> <th class="empty-cell"></th>
</thead> </thead>
<tbody> <tbody>
{% for filter in filters %} {% for filter in filters %}
@ -39,7 +39,7 @@
<span class="fa fa-times"></span> <span class="fa fa-times"></span>
Delete filter Delete filter
</td> </td>
<td> <td class="empty-cell">
<i id="filter-spinner-{{filter.id}}" <i id="filter-spinner-{{filter.id}}"
class="fa fa-spinner fa-spin" class="fa fa-spinner fa-spin"
style="display:none"></i> style="display:none"></i>