Skip to content

Commit ca56350

Browse files
authored
fix(flag): prevent image from being draggable (#348)
1 parent c87b06f commit ca56350

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/pages/travel/visa/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,7 @@ const VisaPage: React.FC = () => {
556556
title={country}
557557
alt={country}
558558
loading='lazy'
559+
draggable={false}
559560
className='block w-full h-full object-cover transform -translate-x-6 opacity-100 transition-all duration-700 ease-[cubic-bezier(.22,.61,.36,1)] delay-75 group-hover:translate-x-0 group-hover:opacity-100 group-hover:scale-[1.02] will-change-transform motion-reduce:transition-none motion-reduce:transform-none'
560561
/>
561562
)}

0 commit comments

Comments
 (0)