comparison sat_templates/templates/bulma/blog/item.html @ 246:1928ba66c194

bulma: replaced custom styles by new spacing helpers
author Goffi <goffi@goffi.org>
date Fri, 19 Jun 2020 17:57:13 +0200
parents 0e69b5843c2f
children 40fccd3b7cf0
comparison
equal deleted inserted replaced
245:10278ba367a2 246:1928ba66c194
13 13
14 {% if item.language and locale and locale.language != item.language %} 14 {% if item.language and locale and locale.language != item.language %}
15 {# we may display items in different language in a specific way #} 15 {# we may display items in different language in a specific way #}
16 {% set other_lang = " other_lang" if expanded else " other_lang state_init" %} 16 {% set other_lang = " other_lang" if expanded else " other_lang state_init" %}
17 {% endif %} 17 {% endif %}
18 <article id="{{item.id}}" class="media has-background-white has-padding-1" > 18 <article id="{{item.id}}" class="media has-background-white px-1 py-1" >
19 {% if identities is defined %} 19 {% if identities is defined %}
20 {% if avatar is defined %} 20 {% if avatar is defined %}
21 <div class="media-left"> 21 <div class="media-left">
22 {{ avatar.avatar(item.author_jid) }} 22 {{ avatar.avatar(item.author_jid) }}
23 </div> 23 </div>