diff sat_templates/templates/bulma/blog/discover.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 c08fadf23c46
line wrap: on
line diff
--- a/sat_templates/templates/bulma/blog/discover.html	Fri Jun 19 17:57:13 2020 +0200
+++ b/sat_templates/templates/bulma/blog/discover.html	Fri Jun 19 17:57:13 2020 +0200
@@ -24,10 +24,10 @@
             <div class="column is-2-desktop is-4-touch">
                 <div class="card x-is-hoverable">
                     <a href="{{entities_url[entity]}}" class="items_vert--centered">
-                        <div class="card-image is-flex has-items-centered has-padding-1">
+                        <div class="card-image is-flex has-items-centered px-1 py-1">
                             {{ avatar.avatar(entity, "is-64x64") }}
                         </div>
-                        <div class="card-content has-text-centered has-text-shortenable has-padding-1">
+                        <div class="card-content has-text-centered has-text-shortenable px-1 py-1">
                             <span>{{ identities[entity].nicknames[0] if identities[entity].nicknames else entity }}</span>
                         </div>
                     </a>