Партии: фото в общем комментарии (до 10), загрузка при завершении

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-17 21:34:39 +03:00
co-authored by Claude Opus 4.8
parent 020c694a44
commit 8ac1b5acef
14 changed files with 790 additions and 11 deletions
+31
View File
@@ -135,6 +135,37 @@
.admin-tabs::-webkit-scrollbar { display: none; } /* WebKit */
.admin-tabs > * { flex: 0 0 auto; white-space: nowrap; }
/* Сетка медиа (фото партии) */
.media-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
gap: 8px;
}
.media-item { position: relative; }
.media-item img {
width: 100%;
height: 88px;
object-fit: cover;
border-radius: var(--radius-sm);
border: 1px solid var(--border);
display: block;
}
.media-del {
position: absolute;
top: 4px;
right: 4px;
width: 22px;
height: 22px;
border-radius: 50%;
border: none;
background: rgba(0, 0, 0, 0.6);
color: #fff;
display: grid;
place-items: center;
font-size: 12px;
line-height: 1;
}
.participant-row {
display: grid;
grid-template-columns: 1fr;