We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 33a079e + dab923b commit 95dc745Copy full SHA for 95dc745
components/communityImages.jsx
@@ -15,8 +15,8 @@ export default function CommunityImages({ images, basePath }) {
15
};
16
17
return (
18
- <div className="flex flex-col items-center mx-auto max-w-6xl">
19
- <div className="relative w-full">
+ <div className="items-center mx-auto max-w-6xl">
+ <div className="relative">
20
<button
21
onClick={prevImage}
22
className="absolute left-0 top-1/2 transform -translate-y-1/2 bg-gray-500 text-white p-2 rounded"
@@ -26,8 +26,8 @@ export default function CommunityImages({ images, basePath }) {
26
<div
27
style={{
28
margin: "auto",
29
- width: "1000px",
30
- height: "600px",
+ width: "85%",
+ aspectRatio: 16 / 9,
31
}}
32
>
33
<img
0 commit comments