mirror of
https://git.coop/cotech/website.git
synced 2025-12-18 10:17:31 +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;
|
||||
}
|
||||
|
||||
.grid a {
|
||||
.grid__link {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user