From b007dc80faf7a6d4e108e32196ea9d89cfe801bb Mon Sep 17 00:00:00 2001
From: Saurabh Kumar <theskumar@users.noreply.github.com>
Date: Thu, 20 Apr 2023 13:29:05 +0530
Subject: [PATCH] Make the spacing around buttons and section consistent
 (#3360)

---
 .../templates/funds/includes/admin_primary_actions.html     | 6 +++---
 hypha/static_src/src/sass/apply/components/_wrapper.scss    | 1 -
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/hypha/apply/funds/templates/funds/includes/admin_primary_actions.html b/hypha/apply/funds/templates/funds/includes/admin_primary_actions.html
index e5b934e42..f8e259d80 100644
--- a/hypha/apply/funds/templates/funds/includes/admin_primary_actions.html
+++ b/hypha/apply/funds/templates/funds/includes/admin_primary_actions.html
@@ -51,15 +51,15 @@
     <a data-fancybox data-src="#update-status" class="button button--primary button--full-width {% if progress_form.should_show %}is-not-disabled{% else %}is-disabled{% endif %}" href="#">{% trans "Update status" %}</a>
 
 
-    <p class="sidebar__separator">{% trans "Assign" %}</p>
+    <div class="sidebar__separator mt-4">{% trans "Assign" %}</div>
 
-    <div class="wrapper wrapper--sidebar-buttons">
+    <div class="wrapper wrapper--sidebar-buttons mt-2">
         <a data-fancybox data-src="#update-reviewers" class="button button--half-width button--white" href="#">{% trans "Reviewers" %}</a>
         <a data-fancybox data-src="#update-partners" class="button button--half-width button--white" href="#">{% trans "Partners" %}</a>
         <a data-fancybox data-src="#assign-lead" class="button button--half-width button--white" href="#">{% trans "Lead" %}</a>
     </div>
 
-    <details>
+    <details class="mt-4">
         <summary class="sidebar__separator sidebar__separator--medium">{% trans "More actions" %}</summary>
         <a class="button button--white button--full-width button--bottom-space" href="{% url 'funds:submissions:revisions:list' submission_pk=object.id %}">{% trans "Revisions" %}</a>
 
diff --git a/hypha/static_src/src/sass/apply/components/_wrapper.scss b/hypha/static_src/src/sass/apply/components/_wrapper.scss
index f46a2d449..579b4711f 100644
--- a/hypha/static_src/src/sass/apply/components/_wrapper.scss
+++ b/hypha/static_src/src/sass/apply/components/_wrapper.scss
@@ -216,7 +216,6 @@
     &--sidebar-buttons {
         display: flex;
         justify-content: space-between;
-        margin-bottom: 20px;
     }
 
     &--cta-box {
-- 
GitLab