fix(tradein): фото аналога в Сводке больше не скрыто плейсхолдером #423
1 changed files with 8 additions and 0 deletions
|
|
@ -537,8 +537,16 @@
|
||||||
background: linear-gradient(135deg, oklch(85% 0.02 250), oklch(78% 0.025 240));
|
background: linear-gradient(135deg, oklch(85% 0.02 250), oklch(78% 0.025 240));
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
/* Реальное фото аналога должно перекрывать плейсхолдер-скелет (::before /
|
||||||
|
::after) — иначе абсолютные псевдоэлементы рисуются поверх <img>.
|
||||||
|
Если фото нет или оно не загрузилось — скелет остаётся виден. */
|
||||||
|
.hero-photo img {
|
||||||
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
.hero-photo .photo-meta {
|
.hero-photo .photo-meta {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
z-index: 2;
|
||||||
bottom: 10px; left: 12px;
|
bottom: 10px; left: 12px;
|
||||||
display: inline-flex; gap: 6px;
|
display: inline-flex; gap: 6px;
|
||||||
padding: 4px 8px;
|
padding: 4px 8px;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue