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>
|
||||
</StyledButton>
|
||||
|
||||
<StyledButton onClick={() => deleteTorrent(torrentLocalComponentValue)}>
|
||||
<DeleteIcon />
|
||||
<span>Delete</span>
|
||||
</StyledButton>
|
||||
|
||||
<StyledButton
|
||||
onClick={() => {
|
||||
setShowCache(false)
|
||||
@@ -89,6 +84,11 @@ export default function Torrent({ torrent }) {
|
||||
<HeightIcon />
|
||||
<span>Details</span>
|
||||
</StyledButton>
|
||||
|
||||
<StyledButton onClick={() => deleteTorrent(torrentLocalComponentValue)}>
|
||||
<DeleteIcon />
|
||||
<span>Delete</span>
|
||||
</StyledButton>
|
||||
</TorrentCardButtons>
|
||||
|
||||
<TorrentCardDescription>
|
||||
|
||||
@@ -14,6 +14,10 @@ const TorrentListWrapper = styled.div`
|
||||
gap: 10px;
|
||||
grid-template-columns: repeat(auto-fit, 310px);
|
||||
}
|
||||
|
||||
@media (max-width: 410px) {
|
||||
grid-template-columns: minmax(min-content, 290px);
|
||||
}
|
||||
`
|
||||
|
||||
export default function TorrentList() {
|
||||
|
||||
Reference in New Issue
Block a user