del xomments

This commit is contained in:
Patryk
2025-06-10 01:07:30 +02:00
parent 0157d0015a
commit 97d3927acc

View File

@@ -321,13 +321,13 @@ export default function NoticeDetails() {
renderMode="contain" renderMode="contain"
className={ className={
isLandscape isLandscape
? "w-auto h-full" // w landscape - pełny ekran z contain ? "w-auto h-full"
: "h-auto w-auto rounded-md aspect-[1/1]" // w portrait - kwadrat : "h-auto w-auto rounded-md aspect-[1/1]"
} }
style={ style={
isLandscape isLandscape
? { ? {
resizeMode: "contain", // zachowuje naturalne proporcje resizeMode: "contain",
} }
: {} : {}
} }