mirror of
https://git.coop/cotech/website.git
synced 2025-12-18 15: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:
@ -240,7 +240,7 @@ section, footer, header {
|
|||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
}
|
}
|
||||||
|
|
||||||
.grid a {
|
.grid__link {
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -93,7 +93,7 @@ layout: default
|
|||||||
|
|
||||||
<div class="grid grid-dense">
|
<div class="grid grid-dense">
|
||||||
{% for coop in site.coops %}
|
{% for coop in site.coops %}
|
||||||
<a href="{{ coop.url | relative_url }}">
|
<a class="grid__link" href="{{ coop.url | relative_url }}">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<img class="greyscale" src="/images/coops/{{ coop.logo }}" alt="{{ coop.name }}" />
|
<img class="greyscale" src="/images/coops/{{ coop.logo }}" alt="{{ coop.name }}" />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user