mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
Added media queries
This commit is contained in:
@@ -7,8 +7,13 @@ import Torrent from './Torrent'
|
||||
|
||||
const TorrentListWrapper = styled.div`
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(250px, 350px));
|
||||
grid-template-columns: repeat(auto-fit, 350px);
|
||||
gap: 30px;
|
||||
|
||||
@media (max-width: 600px), (max-height: 500px) {
|
||||
gap: 10px;
|
||||
grid-template-columns: repeat(auto-fit, 310px);
|
||||
}
|
||||
`
|
||||
|
||||
export default function TorrentList() {
|
||||
|
||||
Reference in New Issue
Block a user