mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
delete button moved to the last position
This commit is contained in:
@@ -75,11 +75,6 @@ export default function Torrent({ torrent }) {
|
|||||||
<span>Drop</span>
|
<span>Drop</span>
|
||||||
</StyledButton>
|
</StyledButton>
|
||||||
|
|
||||||
<StyledButton onClick={() => deleteTorrent(torrentLocalComponentValue)}>
|
|
||||||
<DeleteIcon />
|
|
||||||
<span>Delete</span>
|
|
||||||
</StyledButton>
|
|
||||||
|
|
||||||
<StyledButton
|
<StyledButton
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setShowCache(false)
|
setShowCache(false)
|
||||||
@@ -89,6 +84,11 @@ export default function Torrent({ torrent }) {
|
|||||||
<HeightIcon />
|
<HeightIcon />
|
||||||
<span>Details</span>
|
<span>Details</span>
|
||||||
</StyledButton>
|
</StyledButton>
|
||||||
|
|
||||||
|
<StyledButton onClick={() => deleteTorrent(torrentLocalComponentValue)}>
|
||||||
|
<DeleteIcon />
|
||||||
|
<span>Delete</span>
|
||||||
|
</StyledButton>
|
||||||
</TorrentCardButtons>
|
</TorrentCardButtons>
|
||||||
|
|
||||||
<TorrentCardDescription>
|
<TorrentCardDescription>
|
||||||
|
|||||||
@@ -14,6 +14,10 @@ const TorrentListWrapper = styled.div`
|
|||||||
gap: 10px;
|
gap: 10px;
|
||||||
grid-template-columns: repeat(auto-fit, 310px);
|
grid-template-columns: repeat(auto-fit, 310px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 410px) {
|
||||||
|
grid-template-columns: minmax(min-content, 290px);
|
||||||
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
export default function TorrentList() {
|
export default function TorrentList() {
|
||||||
|
|||||||
Reference in New Issue
Block a user