You've already forked AstralRinth
Remove dimming of featured gallery images in project cards (#899)
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
</nuxt-link>
|
</nuxt-link>
|
||||||
<nuxt-link
|
<nuxt-link
|
||||||
class="gallery"
|
class="gallery"
|
||||||
|
:class="{ 'no-image': !featuredImage }"
|
||||||
tabindex="-1"
|
tabindex="-1"
|
||||||
:to="`/${$getProjectTypeForUrl(type, categories)}/${id}`"
|
:to="`/${$getProjectTypeForUrl(type, categories)}/${id}`"
|
||||||
:style="color ? `background-color: ${toColor};` : ''"
|
:style="color ? `background-color: ${toColor};` : ''"
|
||||||
@@ -295,7 +296,9 @@ export default {
|
|||||||
height: 10rem;
|
height: 10rem;
|
||||||
background-color: var(--color-button-bg-active);
|
background-color: var(--color-button-bg-active);
|
||||||
|
|
||||||
filter: brightness(0.7);
|
&.no-image {
|
||||||
|
filter: brightness(0.7);
|
||||||
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
|||||||
Reference in New Issue
Block a user