del xomments
This commit is contained in:
@@ -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",
|
||||
}
|
||||
: {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user