FIX: Styling update to VideoPage to support smaller screens;

This commit is contained in:
Chris-1010
2025-02-17 00:51:25 +00:00
parent d0aa591116
commit 93141357e3
4 changed files with 7 additions and 6 deletions

View File

@@ -116,7 +116,7 @@ const ChatPanel: React.FC<ChatPanelProps> = ({
return (
<div
id="chat-panel"
className="max-w-[30vw] h-[83vh] flex flex-col rounded-lg p-[2vh] justify-between"
className="max-w-[30vw] max-h-[83vh] flex flex-col rounded-lg p-[2vh] justify-between"
style={{ gridArea: "1 / 2 / 3 / 3" }}
>
{/* Chat Header */}

View File

@@ -25,6 +25,7 @@ const VideoPlayer: React.FC = () => {
muted: true,
fluid: true,
responsive: true,
aspectRatio: "16:9",
liveui: true,
sources: [
{
@@ -58,7 +59,7 @@ const VideoPlayer: React.FC = () => {
return (
<div className="min-w-[65vw] w-full h-full flex justify-center items-center bg-gray-900 rounded-lg">
<div ref={videoRef} className="w-full max-w-[80vw] self-center" />
<div ref={videoRef} className="w-full max-w-[160vh] self-center" />
</div>
);
};