Show placeholder on mobile when photos not filling space

This commit is contained in:
2026-04-22 12:40:45 +04:00
parent d1d179bb93
commit b6e2964f8e
3 changed files with 20 additions and 1 deletions

View File

@@ -906,6 +906,10 @@ abbr[title] {
overflow: hidden;
}
.carousel-placeholder {
display: none;
}
.place-header-photo-blur {
position: absolute;
top: 0;
@@ -992,6 +996,7 @@ abbr[title] {
.place-photos-carousel-track {
scroll-snap-type: none;
gap: 2px;
background-color: #fff;
}
.carousel-slide {
@@ -1002,6 +1007,13 @@ abbr[title] {
scroll-snap-align: none;
}
.carousel-placeholder {
display: block;
background-color: var(--hover-bg);
flex: 1 1 0%;
min-width: 0;
}
.place-header-photo.landscape,
.place-header-photo.portrait {
object-fit: cover;