From 0878767c1728ef2416d4908f43579861821f3f04 Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Sat, 20 Mar 2021 23:20:36 +0100 Subject: [PATCH] replace class container by container-fluid (full width in bootstrap) --- .../Resources/public/modules/bootstrap/_custom.scss | 8 ++++++++ .../Resources/views/Admin/layout.html.twig | 2 +- .../ChillMainBundle/Resources/views/Form/fields.html.twig | 4 ++-- .../Resources/views/Password/recover_layout.html.twig | 2 +- .../ChillMainBundle/Resources/views/layout.html.twig | 6 +++--- .../Resources/views/layoutWithVerticalMenu.html.twig | 4 ++-- .../Resources/views/PersonDuplicate/confirm.html.twig | 4 ++-- .../ChillPersonBundle/Resources/views/layout.html.twig | 2 +- 8 files changed, 20 insertions(+), 12 deletions(-) diff --git a/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/_custom.scss b/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/_custom.scss index f47043fe2..c18f2e435 100644 --- a/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/_custom.scss +++ b/src/Bundle/ChillMainBundle/Resources/public/modules/bootstrap/_custom.scss @@ -2,3 +2,11 @@ * These custom styles will override bootstrap enabled stylesheets */ + +// hack hérité de scratch: contraindre le footer en bas de page +.container-fluid::after { + content: ""; + display: table; + clear: both; + border-spacing: 0; +} \ No newline at end of file diff --git a/src/Bundle/ChillMainBundle/Resources/views/Admin/layout.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Admin/layout.html.twig index 64270f409..5e6bdfbe0 100644 --- a/src/Bundle/ChillMainBundle/Resources/views/Admin/layout.html.twig +++ b/src/Bundle/ChillMainBundle/Resources/views/Admin/layout.html.twig @@ -32,7 +32,7 @@ {% block content %} {% block admin_content %} -
+

{{ 'Welcome to the admin section !'|trans }}

diff --git a/src/Bundle/ChillMainBundle/Resources/views/Form/fields.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Form/fields.html.twig index f087578f3..91fc4e3df 100644 --- a/src/Bundle/ChillMainBundle/Resources/views/Form/fields.html.twig +++ b/src/Bundle/ChillMainBundle/Resources/views/Form/fields.html.twig @@ -19,7 +19,7 @@ {% block form_row %} {% apply spaceless %} {% if form.vars.hideLabel is not defined or form.vars.hideLabel == false %} -
+
+
{{ form_widget(child) }} diff --git a/src/Bundle/ChillMainBundle/Resources/views/Password/recover_layout.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Password/recover_layout.html.twig index fa4c58bdb..bb9173dfa 100644 --- a/src/Bundle/ChillMainBundle/Resources/views/Password/recover_layout.html.twig +++ b/src/Bundle/ChillMainBundle/Resources/views/Password/recover_layout.html.twig @@ -29,7 +29,7 @@ -