fix: overlay styles
This commit is contained in:
parent
92f4e5a2f7
commit
1e5e9768fd
3 changed files with 6 additions and 6 deletions
|
@ -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>
|
||||
|
|
Reference in a new issue