comparison sat_templates/templates/default/blog/discover.html @ 188:e85122a39e8f

css (grid): added `overflow: hidden` on items + added .grid__item--small and .grid__item--auto
author Goffi <goffi@goffi.org>
date Sun, 14 Apr 2019 08:09:42 +0200
parents e9f0a4215e46
children 3195484abd82
comparison
equal deleted inserted replaced
187:7539d98e1d08 188:e85122a39e8f
13 {% endtrans %} 13 {% endtrans %}
14 </p> 14 </p>
15 <div class="disco_blogs"> 15 <div class="disco_blogs">
16 <ul class="grid grid--center"> 16 <ul class="grid grid--center">
17 {% for entity in disco_entities %} 17 {% for entity in disco_entities %}
18 <li class='grid__item grid__item--medium grid__item--selectable'> 18 <li class='grid__item grid__item--small grid__item--selectable'>
19 <a href="{{entities_url[entity]}}" class="items_vert--centered"> 19 <a href="{{entities_url[entity]}}" class="items_vert--centered">
20 {{ avatar.avatar(entity, class="avatar--medium") }} 20 {{ avatar.avatar(entity, class="avatar--medium") }}
21 <span>{{ identities[entity].nick|default(entity, true) }}</span> 21 <span>{{ identities[entity].nick|default(entity, true) }}</span>
22 </a> 22 </a>
23 </li> 23 </li>