12363 change p tag to only effect last-child

This commit is contained in:
Arthur 2023-05-03 08:12:05 -07:00
parent afd43e63b3
commit f62fa821a7
5 changed files with 2 additions and 12 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -229,7 +229,7 @@ table {
line-height: $line-height-xs;
}
p {
p:last-child {
// Remove spacing from paragraph elements within tables.
margin-bottom: 0;
}
@ -266,16 +266,6 @@ table {
}
}
.spaced-paragraph-table table {
td,
th {
p {
// Remove spacing from paragraph elements within tables.
margin-bottom: 1rem;
}
}
}
div.title-container {
display: flex;
// On small screens, `flex-direction: column;` ensures the control buttons don't appear on the

View File

@ -6,7 +6,7 @@
{% block content %}
<div class="card">
<div class="card-body table-responsive spaced-paragraph-table">
<div class="card-body table-responsive">
{% render_table table 'inc/table.html' %}
{% include 'inc/paginator.html' with paginator=table.paginator page=table.page %}
</div>