Skip to content

Commit

Permalink
fix image centering
Browse files Browse the repository at this point in the history
  • Loading branch information
Kr0nox committed Mar 26, 2024
1 parent 2711ec3 commit a7b5c1f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/components/ReferenceLinkComponent.vue
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
<template>
<div class="w-fit">
<div class="w-fit max-w-32">
<a
:href="referenceLink.url"
class="font-light flex flex-col items-center text-center text-link hover:text-link-hover visited:text-link-visited active:text-link-clicked underline"
class="font-light h-40 flex flex-col items-center text-center text-link hover:text-link-hover visited:text-link-visited active:text-link-clicked underline"
>
<div class="flex-1 flex flex-col justify-center">
<img
class="h-32 object-cover"
class="max-h-32 object-cover"
:class="{
'rounded-full w-32': forceCircle
}"
:src="referenceLink.image"
:alt="referenceLink.alt ?? referenceLink.title"
/>
</div>


<b >
<b>
{{ referenceLink.title }}
</b>
</a>
Expand Down

0 comments on commit a7b5c1f

Please sign in to comment.