diff --git a/cdhweb/static_src/global/components/tag.scss b/cdhweb/static_src/global/components/tag.scss index e7355d98..f25adae1 100644 --- a/cdhweb/static_src/global/components/tag.scss +++ b/cdhweb/static_src/global/components/tag.scss @@ -5,6 +5,7 @@ } .tag { + text-align: center; font-size: px2rem(13); line-height: 1; font-weight: bold; diff --git a/cdhweb/static_src/global/components/tiles.scss b/cdhweb/static_src/global/components/tiles.scss index 515533e7..c9454d64 100644 --- a/cdhweb/static_src/global/components/tiles.scss +++ b/cdhweb/static_src/global/components/tiles.scss @@ -34,7 +34,7 @@ row-gap: 40px; @include sm { - grid-template-columns: repeat(auto-fit, minmax(px2rem(265), 1fr)); + grid-template-columns: repeat(auto-fit, minmax(px2rem(280), 1fr)); column-gap: 32px; } } diff --git a/templates/includes/event_hero.html b/templates/includes/event_hero.html index 541e57ba..369c3c79 100644 --- a/templates/includes/event_hero.html +++ b/templates/includes/event_hero.html @@ -48,7 +48,7 @@

Speakers

{% endif %} - {% if self.tags %} + {% if self.tags.all %}
{% for tag in self.tags.all %}
{{ tag }}
diff --git a/templates/includes/project_hero.html b/templates/includes/project_hero.html index 8b5a5e41..72281ffd 100644 --- a/templates/includes/project_hero.html +++ b/templates/includes/project_hero.html @@ -11,7 +11,7 @@

{{ self.title}}

{{ self.description | richtext }} {% endif %} - {% if self.tags %} + {% if self.tags.all %}
{% for tag in self.tags.all %}
{{ tag }}