mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-16 18:00:47 +02:00
Merge pull request #449 from scmmishra/updates
refactor: layout updates
This commit is contained in:
Binary file not shown.
@@ -37,7 +37,7 @@
|
||||
] %}
|
||||
|
||||
{% macro show_section(sponsors, with_img = False) %}
|
||||
<div class='row mt-4'>
|
||||
<div class='row mt-4 justify-content-center'>
|
||||
{% for sponsor in sponsors %}
|
||||
<div class='mx-3 mx-md-0 col-sm-3 mb-4'>
|
||||
<a href='{{ ("{}{}".format("" if sponsor.website_url.startswith("http") else "//", sponsor.website_url)) if sponsor.website_url else "#" }}' target='_blank' class='card h-100'>
|
||||
@@ -58,7 +58,7 @@
|
||||
</a>
|
||||
</div>
|
||||
{% if loop.index is divisibleby 4 %}
|
||||
</div><div class='row'>
|
||||
</div><div class='row justify-content-center'>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user