forked from DebaucheryLibrarian/traxxx
Fixed actor avatar not visible in compact mode. Showing actor photos at full height in compact mode.
This commit is contained in:
parent
dc76ee386c
commit
a7199c1019
|
@ -220,7 +220,7 @@
|
||||||
|
|
||||||
<div class="actor-content">
|
<div class="actor-content">
|
||||||
<div
|
<div
|
||||||
v-if="actor.photos && actor.photos.length > 0"
|
v-if="actor.avatar || (actor.photos && actor.photos.length > 0)"
|
||||||
class="photos-container"
|
class="photos-container"
|
||||||
>
|
>
|
||||||
<Photos :actor="actor" />
|
<Photos :actor="actor" />
|
||||||
|
@ -517,7 +517,6 @@ export default {
|
||||||
.photos-container {
|
.photos-container {
|
||||||
border: none;
|
border: none;
|
||||||
border-bottom: solid 1px $shadow-hint;
|
border-bottom: solid 1px $shadow-hint;
|
||||||
padding: 1rem 1rem 1.5rem 1rem;
|
|
||||||
margin: 0 0 .5rem 0;
|
margin: 0 0 .5rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -55,6 +55,12 @@ export default {
|
||||||
.avatar-link {
|
.avatar-link {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.compact {
|
||||||
|
.photo {
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.photo-link {
|
.photo-link {
|
||||||
|
|
|
@ -946,6 +946,9 @@
|
||||||
.photos .avatar-link[data-v-0a0430c7] {
|
.photos .avatar-link[data-v-0a0430c7] {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
.photos.compact .photo[data-v-0a0430c7] {
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
.photo[data-v-0a0430c7] {
|
.photo[data-v-0a0430c7] {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
@ -1199,7 +1202,6 @@
|
||||||
.photos-container[data-v-ea0483c2] {
|
.photos-container[data-v-ea0483c2] {
|
||||||
border: none;
|
border: none;
|
||||||
border-bottom: solid 1px rgba(0, 0, 0, 0.1);
|
border-bottom: solid 1px rgba(0, 0, 0, 0.1);
|
||||||
padding: 1rem 1rem 1.5rem 1rem;
|
|
||||||
margin: 0 0 .5rem 0;
|
margin: 0 0 .5rem 0;
|
||||||
}
|
}
|
||||||
.photos[data-v-ea0483c2] {
|
.photos[data-v-ea0483c2] {
|
||||||
|
|
Loading…
Reference in New Issue