Skip to content

Commit

Permalink
Fixed the spacing and styling on the venue, sponsor and host cards in…
Browse files Browse the repository at this point in the history
…side the project page
  • Loading branch information
anishTP committed Aug 13, 2024
1 parent 1e1b0f8 commit 5099308
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions funnel/templates/project_layout.html.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,9 @@
{% endmacro %}

{% macro project_host_sponsor(project) %}
<p class="mui--text-subhead text-bold mui--text-light">{% trans %}Hosted by{% endtrans %}</p>
<div class="card card--shaped card--lessmargin">
<div class="card__body margin-bottom">
<p class="mui--text-subhead top-padding text-bold mui--text-light">{% trans %}Hosted by{% endtrans %}</p>
<div class="page-card">
<div class="project-section bottom-padding">
<div class="flex-wrapper flex-wrapper--center margin-bottom">
{{ profileavatar(project.account, css_class='flex-order-last flex-item-align-end') }}
</div>
Expand All @@ -305,16 +305,16 @@
</div>
</div>
{%- if project.has_sponsors %}
<p class="mui--text-subhead text-bold mui--text-light">{% trans %}Supported by{% endtrans %}</p>
<p class="mui--text-subhead text-bold top-padding mui--text-light">{% trans %}Supported by{% endtrans %}</p>
{%- endif %}
<div class="sponsors-wrapper">
{% for sponsorship in project.sponsor_memberships %}
{%- with sponsor_public = sponsorship.member.profile_state.ACTIVE_AND_PUBLIC %}
{%- if current_auth.user and current_auth.user.is_site_editor %}
<div id="{{ sponsorship.uuid_b58 }}" class="sortable" data-drag-placeholder="ui-box-placeholder" draggable="true">
{%- endif %}
<div class="card card--shaped card--lessmargin" data-cy="sponsor-card">
<div class="card__body margin-bottom">
<div class="page-card" data-cy="sponsor-card">
<div class="project-section bottom-padding margin-bottom">
<div class="flex-wrapper flex-wrapper--center flex-wrapper--space-between">
<div>
{% if sponsorship.label %}
Expand Down

0 comments on commit 5099308

Please sign in to comment.