fix video button layout

This commit is contained in:
Simon
2025-01-08 15:35:02 +07:00
parent 6b87f2d0fc
commit d79fbcd168
2 changed files with 6 additions and 1 deletions

View File

@@ -315,7 +315,7 @@ const Video = () => {
{!reindex && ( {!reindex && (
<> <>
{isAdmin && ( {isAdmin && (
<div id="reindex-button" className="button-box"> <div id="reindex-button">
<Button <Button
label="Reindex" label="Reindex"
title={`Reindex ${video.title}`} title={`Reindex ${video.title}`}
@@ -331,6 +331,8 @@ const Video = () => {
<a download="" href={`${getApiUrl()}${video.media_url}`}> <a download="" href={`${getApiUrl()}${video.media_url}`}>
<Button label="Download File" id="download-item" /> <Button label="Download File" id="download-item" />
</a>{' '} </a>{' '}
</div>
<div className="button-box">
{isAdmin && ( {isAdmin && (
<> <>
{!showDeleteConfirm && ( {!showDeleteConfirm && (
@@ -360,6 +362,8 @@ const Video = () => {
)} )}
</> </>
)}{' '} )}{' '}
</div>
<div className="button-box">
{!showAddToPlaylist && ( {!showAddToPlaylist && (
<Button <Button
label="Add To Playlist" label="Add To Playlist"

View File

@@ -131,6 +131,7 @@ button:hover {
padding: 5px 0; padding: 5px 0;
display: inline-flex; display: inline-flex;
gap: 5px; gap: 5px;
width: 100%;
} }
.unsubscribe { .unsubscribe {