3
0
mirror of https://git.coop/cotech/website.git synced 2025-12-18 20:17:32 +00:00

Make link styles in grid of co-op images more specific

So that they don't target other links, such as buttons, that appear
inside the grid.
This commit is contained in:
Chris Lowis
2025-12-16 11:54:40 +00:00
parent bb785c79ed
commit 2e864a9d79
2 changed files with 2 additions and 2 deletions

View File

@ -240,7 +240,7 @@ section, footer, header {
align-items: stretch;
}
.grid a {
.grid__link {
display: flex;
height: 100%;
}

View File

@ -93,7 +93,7 @@ layout: default
<div class="grid grid-dense">
{% for coop in site.coops %}
<a href="{{ coop.url | relative_url }}">
<a class="grid__link" href="{{ coop.url | relative_url }}">
<div class="box">
<img class="greyscale" src="/images/coops/{{ coop.logo }}" alt="{{ coop.name }}" />
</div>