Просмотр исходного кода

Layout update per il video player

Sviluppo_Carrello_Immagini
Lorenzo Pollutri 1 день назад
Родитель
Сommit
14c68382bc
1 измененных файлов: 4 добавлений и 3 удалений
  1. +4
    -3
      components/PublicGrid.tsx

+ 4
- 3
components/PublicGrid.tsx Просмотреть файл

@@ -105,7 +105,7 @@ function MediaCarousel({
{/* Custom expand button */}
<button
onClick={(e) => { e.stopPropagation(); onMediaClick?.(i); }}
className="absolute top-3 left-3 bg-black/60 hover:bg-black/80 text-white w-9 h-9 rounded-full flex items-center justify-center transition-colors shadow-lg z-10"
className="absolute bottom-3 right-3 bg-black/60 hover:bg-black/80 text-white w-9 h-9 rounded-full flex items-center justify-center transition-colors shadow-lg z-10"
title="Expand fullscreen"
aria-label="Expand fullscreen"
>
@@ -151,8 +151,9 @@ function MediaCarousel({
))}
</div>

<div className="absolute top-3 right-3 bg-black/50 text-white text-xs font-semibold px-2 py-0.5 rounded-full z-10">
{current + 1} / {items.length}
<div className="absolute top-3 left-3 bg-black/60 text-white text-xs font-semibold px-2 py-0.5 rounded-full z-10 flex items-center gap-1">
<span>⊞</span>
<span>{current + 1} / {items.length}</span>
</div>
</>
)}


Загрузка…
Отмена
Сохранить