Adjust video modal layout to improve title visibility

Modify BunnyVideoModal component: align header to the right and remove title display, simplifying modal header structure.

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:
sebastjanartic 2025-08-30 16:31:12 +00:00
parent 9a0e13e629
commit 18f139a6cd
2 changed files with 1 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 456 KiB

View File

@ -175,10 +175,7 @@ export default function BunnyVideoModal({ video, isOpen, onClose, onEdit, videos
>
<div className="relative w-full h-full max-w-7xl mx-auto p-4 flex flex-col">
{/* Header with close button */}
<div className="flex justify-between items-center mb-1 z-10">
<h2 className="text-xl font-bold text-white flex-1 mr-4 leading-tight">
{video.title}
</h2>
<div className="flex justify-end items-center mb-1 z-10">
<div className="flex gap-2">
{onEdit && (
<Button