fix: overlay styles

This commit is contained in:
Cory Dransfeldt 2024-04-15 17:40:54 -07:00
parent 92f4e5a2f7
commit 1e5e9768fd
No known key found for this signature in database
3 changed files with 6 additions and 6 deletions

View file

@ -1,10 +1,10 @@
{% if data.size > 0 %}
{% assign media = data | normalizeMedia %}
<div class="media__grid {% if shape == 'square' %}square{% else %}vertical{% endif %}">
<div class="media-grid {% if shape == 'square' %}square{% else %}vertical{% endif %}">
{% for item in media limit: count %}
{% assign alt = item.alt | strip | escape %}
<a href="{{ item.url | stripUtm }}" title="{{ alt }}">
<div class="item__wrapper{% if item.subtext %} shadow{% endif %}">
<div class="item-wrapper{% if item.subtext %} shadow{% endif %}">
<div class="meta-text">
{% if item.title %}
<div class="header">{{ item.title }}</div>