From 6377e7c2b9487733afbccb572ab786c1a7b4ca55 Mon Sep 17 00:00:00 2001
From: Julian Leucker <leuckerj@gmail.com>
Date: Fri, 21 May 2021 17:11:05 +0200
Subject: [PATCH] Move "Edit Dashboard" button into another row

---
 aleksis/core/templates/core/index.html | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/aleksis/core/templates/core/index.html b/aleksis/core/templates/core/index.html
index ca838aa23..44ebf73c2 100644
--- a/aleksis/core/templates/core/index.html
+++ b/aleksis/core/templates/core/index.html
@@ -11,10 +11,12 @@
 {% block content %}
   {% has_perm "core.edit_dashboard" user as can_edit_dashboard %}
   {% if can_edit_dashboard %}
-    <a class="btn-flat waves-effect waves-light right" href="{% url "edit_dashboard" %}">
-      <i class="material-icons left">edit</i>
-      {% trans "Edit dashboard" %}
-    </a>
+    <div class="row no-margin">
+      <a class="btn-flat waves-effect waves-light right" href="{% url "edit_dashboard" %}">
+        <i class="material-icons left">edit</i>
+        {% trans "Edit dashboard" %}
+      </a>
+    </div>
   {% endif %}
 
   {% for notification in unread_notifications %}
-- 
GitLab