From beff848796075840a06e64b62012028728c01735 Mon Sep 17 00:00:00 2001
From: Alexandre Iooss <erdnaxe@crans.org>
Date: Mon, 10 Aug 2020 12:08:47 +0200
Subject: [PATCH] Use a fixed-width container by default for lisibility

---
 apps/member/templates/member/profile_detail.html | 3 +++
 apps/note/templates/note/conso_form.html         | 3 +++
 apps/wei/templates/wei/weiclub_detail.html       | 3 +++
 note_kfet/templates/base.html                    | 5 ++++-
 4 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/apps/member/templates/member/profile_detail.html b/apps/member/templates/member/profile_detail.html
index 297af21c..35728191 100644
--- a/apps/member/templates/member/profile_detail.html
+++ b/apps/member/templates/member/profile_detail.html
@@ -1,5 +1,8 @@
 {% extends "member/noteowner_detail.html" %}
 
+{# Use a fluid-width container #}
+{% block containertype %}container-fluid{% endblock %}
+
 {% block profile_info %}
 {% include "member/profile_info.html" %}
 {% endblock %}
diff --git a/apps/note/templates/note/conso_form.html b/apps/note/templates/note/conso_form.html
index 52c6b94f..29acb3de 100644
--- a/apps/note/templates/note/conso_form.html
+++ b/apps/note/templates/note/conso_form.html
@@ -5,6 +5,9 @@
 {# Remove page title #}
 {% block contenttitle %}{% endblock %}
 
+{# Use a fluid-width container #}
+{% block containertype %}container-fluid{% endblock %}
+
 {% block content %}
     <div class="row mt-4">
         <div class="col-sm-5 col-md-4" id="infos_div">
diff --git a/apps/wei/templates/wei/weiclub_detail.html b/apps/wei/templates/wei/weiclub_detail.html
index d0e8f8e9..f359933f 100644
--- a/apps/wei/templates/wei/weiclub_detail.html
+++ b/apps/wei/templates/wei/weiclub_detail.html
@@ -1,5 +1,8 @@
 {% extends "member/noteowner_detail.html" %}
 
+{# Use a fluid-width container #}
+{% block containertype %}container-fluid{% endblock %}
+
 {% block profile_info %}
 {% include "wei/weiclub_info.html" %}
 {% endblock %}
diff --git a/note_kfet/templates/base.html b/note_kfet/templates/base.html
index 461d9593..5e8d3d90 100644
--- a/note_kfet/templates/base.html
+++ b/note_kfet/templates/base.html
@@ -72,6 +72,9 @@ SPDX-License-Identifier: GPL-3.0-or-later
         .bs-tooltip-bottom .arrow::before {
             border-bottom-color: rgba(0,0,0,.250);
         }
+        .container-fluid {
+            max-width: 1600px;
+        }
     </style>
 
     {% block extracss %}{% endblock %}
@@ -167,7 +170,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
             </ul>
         </div>
     </nav>
-    <div class="{% block containertype %}container-fluid{% endblock %} my-3">
+    <div class="{% block containertype %}container{% endblock %} my-3">
         {% if request.user.is_authenticated and not request.user.profile.email_confirmed %}
             <div class="alert alert-warning">
                 {% trans "Your e-mail address is not validated. Please check your mail inbox and click on the validation link." %}
-- 
GitLab