Fixed actor avatar not visible in compact mode. Showing actor photos at full height in compact mode.

This commit is contained in:
2020-01-09 17:16:28 +01:00
parent dc76ee386c
commit a7199c1019
3 changed files with 10 additions and 3 deletions

View File

@@ -220,7 +220,7 @@
<div class="actor-content">
<div
v-if="actor.photos && actor.photos.length > 0"
v-if="actor.avatar || (actor.photos && actor.photos.length > 0)"
class="photos-container"
>
<Photos :actor="actor" />
@@ -517,7 +517,6 @@ export default {
.photos-container {
border: none;
border-bottom: solid 1px $shadow-hint;
padding: 1rem 1rem 1.5rem 1rem;
margin: 0 0 .5rem 0;
}

View File

@@ -55,6 +55,12 @@ export default {
.avatar-link {
display: none;
}
&.compact {
.photo {
width: auto;
}
}
}
.photo-link {