Refac delete buttons order to be in a row

This commit is contained in:
MerlinScheurer
2025-01-12 15:39:21 +01:00
parent 1c656f917e
commit 5b67d9de24
5 changed files with 13 additions and 6 deletions

View File

@@ -349,8 +349,9 @@ const Video = () => {
)}
{showDeleteConfirm && (
<div className="delete-confirm" id="delete-button">
<div className="delete-confirm">
<span>Are you sure? </span>
<Button
label="Delete"
className="danger-button"
@@ -358,7 +359,8 @@ const Video = () => {
await deleteVideo(videoId);
navigate(Routes.Channel(video.channel.channel_id));
}}
/>{' '}
/>
<Button
label="Cancel"
onClick={() => setShowDeleteConfirm(!showDeleteConfirm)}