Skip to content

Commit

Permalink
Backport PR #48805 on branch 1.5.x (Added padding and fixed columns f…
Browse files Browse the repository at this point in the history
…or sponsor logos in mobile view) (#48874)

Backport PR #48805: Added padding and fixed columns for sponsor logos in mobile view

Co-authored-by: Amay Patel <92037532+amay-patel@users.noreply.github.com>
  • Loading branch information
meeseeksmachine and amay-patel authored Sep 30, 2022
1 parent dfe0e55 commit e656091
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/pandas/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ <h5>Community</h5>
<section>
<h5>With the support of:</h5>
{% for row in sponsors.active | batch(6, "") %}
<div class="row h-100">
<div class="row mx-auto h-100">
{% for company in row %}
<div class="col-sm-6 col-md-2 my-auto">
<div class="col-6 col-md-2">
{% if company %}
<a href="{{ company.url }}" target="_blank">
<img class="img-fluid" alt="{{ company.name }}" src="{{ base_url }}{{ company.logo }}"/>
<img class="img-fluid img-thumnail py-5 mx-auto" alt="{{ company.name }}" src="{{ base_url }}{{ company.logo }}"/>
</a>
{% endif %}
</div>
Expand Down

0 comments on commit e656091

Please sign in to comment.