mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-26 09:16:10 -06:00
12363 change p tag to only effect last-child
This commit is contained in:
parent
afd43e63b3
commit
f62fa821a7
BIN
netbox/project-static/dist/netbox-dark.css
vendored
BIN
netbox/project-static/dist/netbox-dark.css
vendored
Binary file not shown.
BIN
netbox/project-static/dist/netbox-light.css
vendored
BIN
netbox/project-static/dist/netbox-light.css
vendored
Binary file not shown.
BIN
netbox/project-static/dist/netbox-print.css
vendored
BIN
netbox/project-static/dist/netbox-print.css
vendored
Binary file not shown.
@ -229,7 +229,7 @@ table {
|
|||||||
line-height: $line-height-xs;
|
line-height: $line-height-xs;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p:last-child {
|
||||||
// Remove spacing from paragraph elements within tables.
|
// Remove spacing from paragraph elements within tables.
|
||||||
margin-bottom: 0;
|
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 {
|
div.title-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
// On small screens, `flex-direction: column;` ensures the control buttons don't appear on the
|
// On small screens, `flex-direction: column;` ensures the control buttons don't appear on the
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-body table-responsive spaced-paragraph-table">
|
<div class="card-body table-responsive">
|
||||||
{% render_table table 'inc/table.html' %}
|
{% render_table table 'inc/table.html' %}
|
||||||
{% include 'inc/paginator.html' with paginator=table.paginator page=table.page %}
|
{% include 'inc/paginator.html' with paginator=table.paginator page=table.page %}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user