diff --git a/src/core/Resources/assets/css/admin.scss b/src/core/Resources/assets/css/admin.scss index 1f56dbe..dc818ba 100644 --- a/src/core/Resources/assets/css/admin.scss +++ b/src/core/Resources/assets/css/admin.scss @@ -619,7 +619,11 @@ fieldset.form-group { &-filter { padding-right: 20px; - padding-bottom: 20px; + padding-bottom: 15px; + + .pagination { + margin-bottom: 0; + } @media screen and (max-width: 769px) { padding-right: 10px; @@ -650,8 +654,20 @@ fieldset.form-group { } } -.table .crud-batch-column { - width: 1%; +.table { + .crud-batch-column { + width: 1%; + } + + .crud-action-column { + text-align: right; + white-space: nowrap; + width: 1px; + } +} + +.no-wrap { + white-space: nowrap; } form { diff --git a/src/core/Resources/views/admin/crud/index.html.twig b/src/core/Resources/views/admin/crud/index.html.twig index e4e3a6d..7f9fe5c 100644 --- a/src/core/Resources/views/admin/crud/index.html.twig +++ b/src/core/Resources/views/admin/crud/index.html.twig @@ -1,6 +1,7 @@ {% extends '@Core/admin/layout.html.twig' %} {% set context = context ?? 'index' %} +{% set pager_render = knp_pagination_render(pager) %} {% block title %}{{ configuration.pageTitle(context)|trans }} {{ parent() ? ('- ' ~ parent()) : '' }}{% endblock %} @@ -67,16 +68,17 @@
+ | {{ 'Actions'|trans }} | {% endif %} @@ -223,7 +226,7 @@ {% endfor %} {% if configuration.showActions %} -+ |
{% block list_item_actions %}
{% block list_item_actions_before %}{% endblock %}
@@ -281,6 +284,10 @@
{% endif %}
+
+ {{ pager_render|raw }}
+
+
{% if configuration.hasBatchAction(context) %}
|
---|