From c2b9ab9153c1a731d54c0cc2d69eb6a2e69e61a3 Mon Sep 17 00:00:00 2001 From: anishTP Date: Fri, 7 Jun 2024 12:11:43 +0530 Subject: [PATCH] Fix alignment for site editor buttons inside the sponsor card --- funnel/templates/macros.html.jinja2 | 2 +- funnel/templates/project_layout.html.jinja2 | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/funnel/templates/macros.html.jinja2 b/funnel/templates/macros.html.jinja2 index 4e8745af6..34d948845 100644 --- a/funnel/templates/macros.html.jinja2 +++ b/funnel/templates/macros.html.jinja2 @@ -301,9 +301,9 @@
{{ account.title|initials }}
{% endif %} {% if add_profile_link %}{% endif %} + {% if add_profile_link %}{%- else %}{% endif %}{{ account.title }}{% if add_profile_link %}{%- else %}{% endif %} - {% if add_profile_link %}{%- else %}{% endif %}{{ account.title }}{% if add_profile_link %}{%- else %}{% endif %} {{ add_follow_button(account, css_class=css_class) }} {%- endmacro %} diff --git a/funnel/templates/project_layout.html.jinja2 b/funnel/templates/project_layout.html.jinja2 index 526fa014f..bb29cb77c 100644 --- a/funnel/templates/project_layout.html.jinja2 +++ b/funnel/templates/project_layout.html.jinja2 @@ -325,12 +325,14 @@ {{ faicon(icon='grip-vertical', baseline=false, css_class="margin-bottom drag-handle") }} {%- endif %} -
+ {%- if sponsorship.member.tagline %}