Fixed photo banner on tags.
This commit is contained in:
parent
f33981ef34
commit
5b19fdf7f2
|
@ -8,6 +8,7 @@
|
|||
:title="tag.poster.comment"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="photo-link"
|
||||
>
|
||||
<img
|
||||
:src="`/img/${tag.poster.thumbnail}`"
|
||||
|
@ -26,6 +27,7 @@
|
|||
:href="`/img/${photo.path}`"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="photo-link"
|
||||
>
|
||||
<img
|
||||
:src="`/img/${photo.thumbnail}`"
|
||||
|
@ -60,18 +62,16 @@ export default {
|
|||
|
||||
&.compact {
|
||||
display: none;
|
||||
padding: 0 1rem 1rem 1rem;
|
||||
padding: 0 1rem 0 1rem;
|
||||
overflow-x: auto;
|
||||
|
||||
.photos-inner {
|
||||
max-width: 100%;
|
||||
display: inline-flex;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.poster,
|
||||
.photo {
|
||||
width: 100%;
|
||||
margin: 0 1rem 0 0;
|
||||
.photo-link {
|
||||
display: inline-block;
|
||||
margin: 0 .5rem 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue