Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions components/album/preview-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -478,19 +478,19 @@ export default function PreviewImage(props: Readonly<PreviewImageHandleProps>) {
type="button"
onClick={() => emblaApi?.scrollPrev()}
aria-label="Previous photo"
className="absolute left-2 top-1/2 z-30 hidden size-10 -translate-y-1/2 items-center justify-center rounded-full bg-black/30 text-white backdrop-blur transition-opacity hover:bg-black/50 sm:flex"
className="absolute left-2 top-1/2 z-30 hidden backdrop-blur text-gray-300 rounded-full items-center justify-center sm:flex"
>
<ChevronLeftIcon size={22} />
<ChevronLeftIcon className='!bg-transparent hover:!bg-transparent' size={22} />
</button>
)}
{hasNext && (
<button
type="button"
onClick={() => emblaApi?.scrollNext()}
aria-label="Next photo"
className="absolute right-2 top-1/2 z-30 hidden size-10 -translate-y-1/2 items-center justify-center rounded-full bg-black/30 text-white backdrop-blur transition-opacity hover:bg-black/50 sm:flex"
className="absolute right-2 top-1/2 z-30 hidden backdrop-blur text-gray-300 rounded-full items-center justify-center sm:flex"
>
<ChevronRightIcon size={22} />
<ChevronRightIcon className='!bg-transparent hover:!bg-transparent' size={22} />
</button>
)}
{photos.length > 1 && !lightboxPhoto && (
Expand Down
Loading