Skip to content

Commit

Permalink
admin support for black logos
Browse files Browse the repository at this point in the history
  • Loading branch information
octavioamu committed Dec 7, 2020
1 parent b5249bb commit ae66622
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/grants/templates/grants/detail/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
</b-skeleton-wrapper>
<div class="" v-if="grant">
<grant-details :grant="grant" v-if="grant.id">
<img :src="grant.logo_url" alt="" height="290px" class="d-block w-100 mb-4" style="object-fit: contain; background: black;">
<img :src="grant.logo_url" alt="" height="290px" class="d-block w-100 mb-4" style="object-fit: contain; background: black;" :style="grant.image_css">
<div class="container mb-3">
<a :href="backLink.url" class="font-body"><i class="fas fa-chevron-left mr-2"></i>Back to [[backLink.title]] </a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/grants/templates/grants/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
width="max(80vw, 1000px)"
>
<grant-details :grant="grant" :fullview="false" v-if="grant.id">
<img :src="grant.logo_url" alt="" height="290px" class="d-block w-100 mb-4" style="object-fit: contain; background: black;">
<img :src="grant.logo_url" alt="" height="290px" class="d-block w-100 mb-4" style="object-fit: contain; background: black;" :style="grant.image_css">
</grant-details>
</b-sidebar>
</div>
Expand Down

0 comments on commit ae66622

Please sign in to comment.