Display description icon only if image has description
This commit is contained in:
parent
647aeb2371
commit
82601600a9
2 changed files with 2 additions and 1 deletions
|
|
@ -21,6 +21,7 @@
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
class="image"
|
class="image"
|
||||||
|
:class="{ 'has-description': image.description.length > 0 }"
|
||||||
@click="imageDetails = image"
|
@click="imageDetails = image"
|
||||||
>
|
>
|
||||||
<span v-for="tag in image.tags" class="tag | btn btn--sm">{{
|
<span v-for="tag in image.tags" class="tag | btn btn--sm">{{
|
||||||
|
|
|
||||||
|
|
@ -221,7 +221,7 @@ function setStepStatus(stepName) {
|
||||||
top: var(--space-12);
|
top: var(--space-12);
|
||||||
left: var(--space-12);
|
left: var(--space-12);
|
||||||
}
|
}
|
||||||
.image::after {
|
.image.has-description::after {
|
||||||
content: "";
|
content: "";
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 1rem;
|
width: 1rem;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue