mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-26 09:16:10 -06:00
add py-1 to button divs, tweak vertical alignment
This commit is contained in:
parent
bbb3dd180d
commit
c49a40e2c5
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.
@ -1044,7 +1044,7 @@ html {
|
|||||||
|
|
||||||
.sticky-bottom-content-p0 {
|
.sticky-bottom-content-p0 {
|
||||||
background-color: $tab-content-bg;
|
background-color: $tab-content-bg;
|
||||||
bottom: 0.05em;
|
bottom: 0.01em;
|
||||||
z-index: 900;
|
z-index: 900;
|
||||||
}
|
}
|
||||||
.sticky-bottom-content-p1 {
|
.sticky-bottom-content-p1 {
|
||||||
@ -1055,7 +1055,7 @@ html {
|
|||||||
|
|
||||||
.sticky-bottom-table-p0 {
|
.sticky-bottom-table-p0 {
|
||||||
background-color: var(--nbx-select-content-bg);
|
background-color: var(--nbx-select-content-bg);
|
||||||
bottom: 0.05em;
|
bottom: 0.01em;
|
||||||
z-index: 900;
|
z-index: 900;
|
||||||
}
|
}
|
||||||
.sticky-bottom-table-p1 {
|
.sticky-bottom-table-p1 {
|
||||||
@ -1066,12 +1066,12 @@ html {
|
|||||||
|
|
||||||
.sticky-top-table-p0 {
|
.sticky-top-table-p0 {
|
||||||
background-color: var(--nbx-select-content-bg);
|
background-color: var(--nbx-select-content-bg);
|
||||||
top: 3.5em;
|
top: 3.3em;
|
||||||
z-index: 900;
|
z-index: 900;
|
||||||
}
|
}
|
||||||
.sticky-top-table-p1 {
|
.sticky-top-table-p1 {
|
||||||
background-color: var(--nbx-select-content-bg);
|
background-color: var(--nbx-select-content-bg);
|
||||||
top: 5.3em;
|
top: 5.1em;
|
||||||
z-index: 900;
|
z-index: 900;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ Context:
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% endblock form %}
|
{% endblock form %}
|
||||||
<div class="text-end my-3 position-sticky sticky-bottom-content-p0">
|
<div class="text-end my-3 py-1 position-sticky sticky-bottom-content-p0">
|
||||||
{% block buttons %}
|
{% block buttons %}
|
||||||
{% if object.pk %}
|
{% if object.pk %}
|
||||||
<button type="submit" name="_update" class="btn btn-primary">
|
<button type="submit" name="_update" class="btn btn-primary">
|
||||||
|
@ -116,7 +116,7 @@ Context:
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{# Form buttons #}
|
{# Form buttons #}
|
||||||
<div class="noprint bulk-buttons position-sticky sticky-bottom-content-p0">
|
<div class="noprint bulk-buttons py-1 position-sticky sticky-bottom-content-p0">
|
||||||
<div class="bulk-button-group">
|
<div class="bulk-button-group">
|
||||||
{% block bulk_buttons %}
|
{% block bulk_buttons %}
|
||||||
{% if 'bulk_edit' in actions %}
|
{% if 'bulk_edit' in actions %}
|
||||||
|
@ -4,13 +4,13 @@
|
|||||||
|
|
||||||
{% with preferences|get_key:"pagination.placement" as paginator_placement %}
|
{% with preferences|get_key:"pagination.placement" as paginator_placement %}
|
||||||
{% if paginator_placement == 'top' or paginator_placement == 'both' %}
|
{% if paginator_placement == 'top' or paginator_placement == 'both' %}
|
||||||
<div class="position-sticky sticky-top-table-p0">
|
<div class="position-sticky py-1 sticky-top-table-p0">
|
||||||
{% include 'inc/paginator_htmx.html' with paginator=table.paginator page=table.page %}
|
{% include 'inc/paginator_htmx.html' with paginator=table.paginator page=table.page %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% render_table table 'inc/table_htmx.html' %}
|
{% render_table table 'inc/table_htmx.html' %}
|
||||||
{% if paginator_placement != 'top' %}
|
{% if paginator_placement != 'top' %}
|
||||||
<div class="position-sticky sticky-bottom-table-p1">
|
<div class="position-sticky py-1 sticky-bottom-table-p1">
|
||||||
{% include 'inc/paginator_htmx.html' with paginator=table.paginator page=table.page %}
|
{% include 'inc/paginator_htmx.html' with paginator=table.paginator page=table.page %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user