mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-04 21:39:49 +00:00
Refac untie download file and reindex on video page and add spacing
This commit is contained in:
@@ -90,6 +90,7 @@ const SettingsUser = () => {
|
||||
setPageSize(Number(event.target.value));
|
||||
}}
|
||||
/>
|
||||
|
||||
<div className="button-box">
|
||||
{userConfig.config.page_size !== pageSize && (
|
||||
<>
|
||||
|
||||
@@ -329,10 +329,14 @@ const Video = () => {
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
|
||||
<div className="button-box">
|
||||
<a download="" href={`${getApiUrl()}${video.media_url}`}>
|
||||
<Button label="Download File" id="download-item" />
|
||||
</a>{' '}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div className="button-box">
|
||||
{isAdmin && (
|
||||
<>
|
||||
@@ -364,6 +368,7 @@ const Video = () => {
|
||||
</>
|
||||
)}{' '}
|
||||
</div>
|
||||
|
||||
<div className="button-box">
|
||||
{!showAddToPlaylist && (
|
||||
<Button
|
||||
@@ -376,6 +381,7 @@ const Video = () => {
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
|
||||
{showAddToPlaylist && (
|
||||
<>
|
||||
<div className="video-popup-menu">
|
||||
|
||||
@@ -132,7 +132,7 @@ button:hover {
|
||||
}
|
||||
|
||||
.button-box {
|
||||
padding: 5px 0;
|
||||
padding: 5px 2px;
|
||||
display: inline-flex;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user