From 35d2f0ddddde07cbed6ccb9ed1cfdfcc9e065455 Mon Sep 17 00:00:00 2001 From: Daniel Shleifman Date: Mon, 31 May 2021 08:13:59 +0300 Subject: [PATCH] fixed scroll on small devices --- web/src/components/Torrent/style.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/web/src/components/Torrent/style.js b/web/src/components/Torrent/style.js index 221a6a0..c0c2b20 100644 --- a/web/src/components/Torrent/style.js +++ b/web/src/components/Torrent/style.js @@ -88,6 +88,7 @@ export const TorrentCardDescriptionLabel = styled.div` export const TorrentCardDescriptionContent = styled.div` margin-left: 5px; margin-bottom: 10px; + word-break: break-all; @media (max-width: 600px), (max-height: 500px) { font-size: 11px; @@ -103,7 +104,7 @@ export const TorrentCardDescriptionContent = styled.div` } @media (max-width: 410px) { - height: 100%; + font-size: 10px; } ` @@ -158,7 +159,7 @@ export const TorrentCardDetails = styled.div` grid-template-columns: repeat(3, 1fr); } - @media (max-width: 410px) { + /* @media (max-width: 410px) { display: none; - } + } */ `