We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 057a93d commit 2bc08fdCopy full SHA for 2bc08fd
src/components/common/list/ListItem.vue
@@ -169,7 +169,7 @@ watch(
169
/>
170
<NImage
171
alt="poster-image-fallback"
172
- class="poster fallback"
+ class="poster placeholder"
173
lazy
174
preview-disabled
175
:src="PosterPlaceholder"
@@ -268,16 +268,17 @@ watch(
268
}
269
270
.poster {
271
+ flex: 0 1 var(--poster-width, 5.3125rem);
272
justify-content: center;
- min-width: 5.75rem;
273
- height: 8rem;
+ width: var(--poster-width, 5.3125rem);
274
+ height: var(--poster-height, 8rem);
275
- &.fallback {
276
+ &.placeholder {
277
position: absolute;
278
background-color: #111;
279
280
- &:not(.fallback) {
281
+ &:not(.placeholder) {
282
z-index: layers.$in-front;
283
284
0 commit comments