Skip to content

Commit

Permalink
fixes focus contourings fdnd-agency#70
Browse files Browse the repository at this point in the history
  • Loading branch information
zoepje committed Dec 9, 2024
1 parent 1fe8b0f commit 32407fd
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/lib/Blocks/contouring-overview.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@
<article>
<a href="/contourings/{slug}">
<div>
<img src="https://fdnd-agency.directus.app/assets/{image_scan.id}?width=384&fit=cover&format=avif" alt="{title}" width="384px" height="384px"/>
<img src="https://fdnd-agency.directus.app/assets/{image_scan.id}?width=384&fit=cover&format=avif" alt="{title}" width="384px" height="384px" />

{#each categories as category}
<span>{category.avl_categories_id.name}</span>
{/each}
{/each}
</div>
<h3>{title}</h3>
<p>{user_id.fullname}</p>
Expand All @@ -24,6 +25,12 @@
max-width: var(--card-max-width);
}
article a {
color: var(--text-color);
text-decoration: none;
display: grid;
}
div {
position: relative;
width: 100%;
Expand Down Expand Up @@ -52,8 +59,7 @@
}
h3,
p,
a {
p {
margin: 0;
padding: 0;
color: var(--text-color);
Expand Down

0 comments on commit 32407fd

Please sign in to comment.