From 23aef5cab38f69d7006b0262bf4f093dc4d9112c Mon Sep 17 00:00:00 2001 From: nikk gitanes Date: Fri, 30 Jul 2021 03:41:06 +0300 Subject: [PATCH] use smaller font for widgets and avoid wraps --- web/src/components/DialogTorrentDetailsContent/style.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/web/src/components/DialogTorrentDetailsContent/style.js b/web/src/components/DialogTorrentDetailsContent/style.js index 643ffa5..efae215 100644 --- a/web/src/components/DialogTorrentDetailsContent/style.js +++ b/web/src/components/DialogTorrentDetailsContent/style.js @@ -258,15 +258,16 @@ export const WidgetFieldValue = styled.div` }, }) => css` grid-area: value; - padding: 0 20px; + font-size: 24px; + padding: 0px 16px; color: ${widgetFontColor}; - font-size: 25px; background: ${bgColor}; border-radius: 0 5px 5px 0; + white-space: nowrap; @media (max-width: 800px) { font-size: 18px; - padding: 0 4px; + padding: 0px 4px; } `} `