From 1ca9c1e21ebcd11cf049fb17bc89441cf799fb77 Mon Sep 17 00:00:00 2001 From: nikk gitanes Date: Sat, 27 May 2023 18:54:45 +0300 Subject: [PATCH] better vertical align --- web/src/components/TorrentCard/style.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/components/TorrentCard/style.js b/web/src/components/TorrentCard/style.js index 2795cbc..fce6485 100644 --- a/web/src/components/TorrentCard/style.js +++ b/web/src/components/TorrentCard/style.js @@ -123,7 +123,8 @@ export const TorrentCardDescription = styled.div` color: ${accentCardColor}; @media (max-width: 770px) { - font-size: 0.4rem; + font-size: 0.5rem; + line-height: 10px; } } @@ -131,8 +132,7 @@ export const TorrentCardDescription = styled.div` display: inline-block; height: 8px; margin-inline-end: 4px; - margin-bottom: 4px; - vertical-align: middle; + vertical-align: baseline; } .description-torrent-title {