Adjust video player size and position for better viewing
Modify the max-width of the video player container to "max-w-lg" and add "ml-8" for left margin in bunny-video-modal.tsx. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 074b0e4c-6171-43bd-aa98-f9e04623ca14 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/074b0e4c-6171-43bd-aa98-f9e04623ca14/Sy6XHzr
This commit is contained in:
parent
52213b6e10
commit
9a0e13e629
@ -258,7 +258,7 @@ export default function BunnyVideoModal({ video, isOpen, onClose, onEdit, videos
|
||||
{/* Video player area */}
|
||||
<div className="flex-1 flex flex-col gap-3 min-h-0">
|
||||
{/* Main video player */}
|
||||
<div className="w-full max-w-md">
|
||||
<div className="w-full max-w-lg ml-8">
|
||||
<div className="relative w-full aspect-video bg-black rounded-lg overflow-hidden">
|
||||
{video.videoUrlIframe ? (
|
||||
<iframe
|
||||
@ -301,7 +301,7 @@ export default function BunnyVideoModal({ video, isOpen, onClose, onEdit, videos
|
||||
</div>
|
||||
|
||||
{/* Video info always below video */}
|
||||
<div className="w-full max-w-md">
|
||||
<div className="w-full max-w-lg ml-8">
|
||||
<div className="p-4 bg-gray-800 rounded-lg text-white">
|
||||
<h3 className="font-bold text-xl mb-3 whitespace-normal break-words" data-testid="text-video-title">
|
||||
{video.title}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user