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