diff --git a/assets/css/app.scss b/assets/css/app.scss index e904f5de3f..7247fae5c2 100644 --- a/assets/css/app.scss +++ b/assets/css/app.scss @@ -42,7 +42,7 @@ @layer components { .card { - @apply bg-white rounded shadow-lg; + @apply bg-white rounded shadow-lg w-full; } // Buttons. diff --git a/assets/css/scss/_forums.scss b/assets/css/scss/_forums.scss new file mode 100644 index 0000000000..3071f0fecf --- /dev/null +++ b/assets/css/scss/_forums.scss @@ -0,0 +1,7 @@ +.category-forum { + @apply flex flex-row w-full; +} + +.forum_display { + @apply flex flex-row w-full; +} \ No newline at end of file diff --git a/assets/css/scss/index.scss b/assets/css/scss/index.scss index ed21c14c51..bddbd83957 100755 --- a/assets/css/scss/index.scss +++ b/assets/css/scss/index.scss @@ -6,6 +6,7 @@ //@import 'install'; //@import "forms"; //@import 'announcement'; +@import 'forums'; @import 'exercise'; //@import 'jqueryui'; @import 'lp'; diff --git a/public/main/template/default/admin/index.html.twig b/public/main/template/default/admin/index.html.twig index 0593fa79fb..f11ae2149b 100644 --- a/public/main/template/default/admin/index.html.twig +++ b/public/main/template/default/admin/index.html.twig @@ -41,7 +41,7 @@ {% endif %} {% endset %} - {{ display.panel_box(loop.index, block_item.icon ~ block_item.label, block_item.search_form ~ list) }} + {{ display.panel(block_item.icon ~ block_item.label, block_item.search_form ~ list) }} {% endfor %} diff --git a/src/CoreBundle/Resources/views/Macros/box.html.twig b/src/CoreBundle/Resources/views/Macros/box.html.twig index 8162ef52dd..b54333d457 100644 --- a/src/CoreBundle/Resources/views/Macros/box.html.twig +++ b/src/CoreBundle/Resources/views/Macros/box.html.twig @@ -1,135 +1,3 @@ -{% block box_collapse %} - -{% endblock %} -{% block box_remove %} - -{% endblock %} - -{% block box_header_buttons %} - {% if collapse or remove %} -