diff --git a/apps/registration/templates/registration/login.html b/apps/registration/templates/registration/login.html
index 7cdec5b3c2ae7e095ba0974e0a6f54e93ee191bf..d22203ef5c8e228b897a0105d0d664b2ad27ddc5 100644
--- a/apps/registration/templates/registration/login.html
+++ b/apps/registration/templates/registration/login.html
@@ -4,6 +4,9 @@ SPDX-License-Identifier: GPL-2.0-or-later
 {% endcomment %}
 {% load i18n crispy_forms_tags static %}
 
+{# Use a fixed-width container #}
+{% block containertype %}container{% endblock %}
+
 {# Change page title without displaying it in header #}
 {% block title %}{% trans "Log in" %}{% endblock %}
 {% block contenttitle %}{% endblock %}
diff --git a/apps/registration/templates/registration/signup.html b/apps/registration/templates/registration/signup.html
index 76f88a49f838d66a1d24748a61f0ed6e76319aef..31134d731b90089c9e050fae2ed78d8453edb990 100644
--- a/apps/registration/templates/registration/signup.html
+++ b/apps/registration/templates/registration/signup.html
@@ -4,9 +4,10 @@
 {% load i18n %}
 {% block title %}{% trans "Sign up" %}{% endblock %}
 
-{% block content %}
-    <h2>{% trans "Sign up" %}</h2>
+{# Use a fixed-width container #}
+{% block containertype %}container{% endblock %}
 
+{% block content %}
     <div class="alert alert-warning">
         {% blocktrans %}If you already signed up, your registration is taken into account. The BDE must validate your account before your can log in. You have to go to the Kfet and pay the registration fee. You must also validate your email address by following the link you received.{% endblocktrans %}
     </div>
diff --git a/note_kfet/templates/base.html b/note_kfet/templates/base.html
index e50defcb05e1b1e695497d286fe00722baa23d2b..461d9593f35044d290cbb6f8e0a0b359af32ee59 100644
--- a/note_kfet/templates/base.html
+++ b/note_kfet/templates/base.html
@@ -167,7 +167,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
             </ul>
         </div>
     </nav>
-    <div class="container-fluid my-3" style="max-width: 1600px;">
+    <div class="{% block containertype %}container-fluid{% 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." %}