Skip to content

Commit 156e171

Browse files
macmac
mac
authored and
mac
committed
Add padding to gallery in zoom mode.
1 parent ee48ede commit 156e171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/ui/Gallery/Gallery.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export const Gallery = ({
7070
</ul>
7171
{isZoomActive ? (
7272
<div>
73-
<div className="fixed z-40 inset-0 flex items-center justify-center w-full h-full zoom">
73+
<div className="fixed z-40 inset-0 px-4 flex items-center justify-center w-full h-full zoom">
7474
<ul className="relative flex-1 max-w-5xl aspect-[3/2] max-h-full">
7575
<ButtonHandler
7676
className="absolute z-20 top-4 bg-white text-slate-800 right-4 my-auto"

0 commit comments

Comments
 (0)