diff --git a/ArtisanConnect/app/notice/[id].jsx b/ArtisanConnect/app/notice/[id].jsx index 79ed538..e6d2f14 100644 --- a/ArtisanConnect/app/notice/[id].jsx +++ b/ArtisanConnect/app/notice/[id].jsx @@ -321,13 +321,13 @@ export default function NoticeDetails() { renderMode="contain" className={ isLandscape - ? "w-auto h-full" // w landscape - pełny ekran z contain - : "h-auto w-auto rounded-md aspect-[1/1]" // w portrait - kwadrat + ? "w-auto h-full" + : "h-auto w-auto rounded-md aspect-[1/1]" } style={ isLandscape ? { - resizeMode: "contain", // zachowuje naturalne proporcje + resizeMode: "contain", } : {} }