Skip to content

Commit 750aecb

Browse files
committed
Center content and make it bigger
1 parent a36ccc7 commit 750aecb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

frontend/src/components/pages/Content.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export function Content() {
157157
if (mediaType === "image") {
158158
attachment = <img src={process.env.PUBLIC_URL + "/content" + contentInfo.path} alt="Uploaded File"/>
159159
} else if (mediaType === "video") {
160-
attachment = <iframe src={process.env.PUBLIC_URL + "/content" + contentInfo.path} className="w-screen lg:max-w-5xl max-w-[90%] aspect-video" title="Uploaded File"/>
160+
attachment = <iframe src={process.env.PUBLIC_URL + "/content" + contentInfo.path} className="w-screen lg:max-w-7xl max-w-[90%] aspect-video" title="Uploaded File"/>
161161
} else {
162162
attachment = <iframe src={process.env.PUBLIC_URL + "/content" + contentInfo.path} className="w-[82vw] h-[82vh]" title="Uploaded File"/>
163163
}
@@ -177,7 +177,9 @@ export function Content() {
177177
<div>
178178
{contentInfo.body}
179179
</div>
180-
{attachment}
180+
<div className="flex flex-auto justify-center m-5">
181+
{attachment}
182+
</div>
181183
</div>
182184
);
183185
}

0 commit comments

Comments
 (0)