From 85a9e4705868ae1bfbf471f1f99d4fd155e01499 Mon Sep 17 00:00:00 2001
From: Kathrin Osswald <kathrin.osswald@uni-ulm.de>
Date: Mon, 11 Nov 2019 13:15:54 +0100
Subject: [PATCH] Improved loginform.mustache for the info box and maintenance
 box to fit to the login box.

---
 CHANGES.md                   |  1 +
 templates/loginform.mustache | 10 +++++-----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/CHANGES.md b/CHANGES.md
index a9c350c..16dca60 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -6,6 +6,7 @@ Changes
 
 ### Unreleased
 
+* 2019-11-11 - Improved loginform.mustache for the info box and maintenance box to fit to the login box.
 * 2019-11-08 - Added special CSS styles for plugin mod_attendance.
 * 2019-10-28 - Changed the link in the README.md to get to the correct Font Awesome version.
 * 2019-10-28 - Adjusted login.mustache template due to upstream changes in theme Boost.
diff --git a/templates/loginform.mustache b/templates/loginform.mustache
index 552c0f0..6be4c7f 100644
--- a/templates/loginform.mustache
+++ b/templates/loginform.mustache
@@ -101,7 +101,7 @@
 
 <div class="my-1 my-sm-5"></div>
 <div class="row">
-    <div class="col-sm-12 col-md-6 col-lg-4 ">
+    <div class="col-sm-12 col-md-6 col-lg-4">
         <div class="card">
             <div class="card-block">
                 {{#logourl}}
@@ -209,8 +209,8 @@
 
 
 {{#hasinstructions}}
-    <div class="row justify-content-center mt-3">
-        <div class="col-xl-6 col-sm-8">
+    <div class="row mt-3">
+        <div class="col-sm-12 col-md-6 col-lg-4">
             <div class="card">
                 <div class="card-body">
                     <div class="card-title">
@@ -231,8 +231,8 @@
 {{/hasinstructions}}
 
 {{#maintenance}}
-    <div class="row justify-content-center mt-3">
-        <div class="col-xl-6 col-sm-8">
+    <div class="row mt-3">
+        <div class="col-sm-12 col-md-6 col-lg-4">
             <div class="card">
                 <div class="card-body">
                     <div class="card-title">
-- 
GitLab