Skip to content

Commit

Permalink
Merge pull request #1172 from NFDI4Chem/project-photo
Browse files Browse the repository at this point in the history
fix: remove project photo placeholder
  • Loading branch information
CS76 authored Nov 8, 2024
2 parents 8647a05 + 4fee4a6 commit 5974f5d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions resources/js/Pages/Project/Show.vue
Original file line number Diff line number Diff line change
Expand Up @@ -311,13 +311,9 @@
class="flex-nowrap right ml-auto"
>
<img
:src="
project.project_photo_url
? project.project_photo_url
: 'https://via.placeholder.com/400x200'
"
:alt="project.name"
class="h-24 w-72 rounded-md object-cover"
v-if="project.project_photo_url"
:src="project.project_photo_url"
class="h-24 w-72 -ml-4 rounded-md object-cover"
/>
</div>
<div class="flex-nowrap">
Expand Down

0 comments on commit 5974f5d

Please sign in to comment.