Skip to content

Commit ce02cfc

Browse files
committed
Improve logowall filter: reorder logos to top
1 parent a24f022 commit ce02cfc

File tree

5 files changed

+16
-8
lines changed

5 files changed

+16
-8
lines changed

content/index.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -511,11 +511,11 @@ <h2 class="section-header">Tried and tested by a global community</h2>
511511
</div>
512512

513513
{% assign logowall = site.data.logowall %}
514-
514+
<div class="logo-wall-grid">
515515
{% for row in logowall %}
516-
<div class="row no-margin">
516+
517517
{% for column in row.columns %}
518-
<div class="col-md-6 col-xs-12 no-padding">
518+
519519
{% for logo in column.logos %}
520520
<div class="col-md-3 col-sm-3 col-xs-3 text-center logo-item" data-category="{{logo.category}}"> <!-- vertical-align -->
521521
<a href="{{logo.link}}" class="logo no-icon">
@@ -528,10 +528,11 @@ <h2 class="section-header">Tried and tested by a global community</h2>
528528
</a>
529529
</div>
530530
{% endfor %}
531-
</div>
531+
532532
{% endfor %}
533-
</div>
533+
534534
{% endfor %}
535+
</div>
535536

536537
<div class="row">
537538
<div class="col-lg-12">

css/landing-page.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,15 @@ img.precice-support {
211211
color: #fff;
212212
}
213213

214+
.logo-wall-grid {
215+
display: flex;
216+
flex-wrap: wrap;
217+
justify-content: center;
218+
}
219+
214220
.logo-item {
215221
transition: opacity 0.2s ease;
222+
width: 12.5%;
216223
}
217224

218225
.logo-item.hidden {

0 commit comments

Comments
 (0)