Merge pull request 'fix(tradein): фото аналога в Сводке больше не скрыто плейсхолдером' (#423) from fix/tradein-hero-photo-visible into main
All checks were successful
Deploy Trade-In / changes (push) Successful in 4s
Deploy Trade-In / build-backend (push) Has been skipped
Deploy Trade-In / build-frontend (push) Successful in 1m23s
Deploy Trade-In / deploy (push) Successful in 17s

This commit is contained in:
lekss361 2026-05-22 10:35:44 +00:00
commit 7daa2dec55

View file

@ -537,8 +537,16 @@
background: linear-gradient(135deg, oklch(85% 0.02 250), oklch(78% 0.025 240));
overflow: hidden;
}
/* Реальное фото аналога должно перекрывать плейсхолдер-скелет (::before /
::after) иначе абсолютные псевдоэлементы рисуются поверх <img>.
Если фото нет или оно не загрузилось скелет остаётся виден. */
.hero-photo img {
position: relative;
z-index: 1;
}
.hero-photo .photo-meta {
position: absolute;
z-index: 2;
bottom: 10px; left: 12px;
display: inline-flex; gap: 6px;
padding: 4px 8px;