From d23fdaf18f5b96006444aa6a27dd039705a9c08a Mon Sep 17 00:00:00 2001 From: Ildar Kamalov Date: Thu, 10 Oct 2019 18:57:39 +0300 Subject: [PATCH] - client: fix font size of whois info --- client/src/components/Logs/Logs.css | 17 ++++++++++++----- client/src/helpers/formatClientCell.js | 2 +- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/client/src/components/Logs/Logs.css b/client/src/components/Logs/Logs.css index 5a79ed85..e0133175 100644 --- a/client/src/components/Logs/Logs.css +++ b/client/src/components/Logs/Logs.css @@ -41,11 +41,16 @@ width: 100%; } -.logs__text--wrap { +.logs__text--wrap, +.logs__text--whois { line-height: 1.4; white-space: normal; } +.logs__text--whois { + line-height: 1.2; +} + .logs__row .tooltip-custom { top: 0; margin-left: 0; @@ -152,11 +157,13 @@ .logs__whois { display: inline; + font-size: 12px; } .logs__whois::after { content: "|"; padding: 0 5px; + opacity: 0.3; } .logs__whois:last-child::after { @@ -166,8 +173,8 @@ .logs__whois-icon.icons { position: relative; top: -2px; - width: 16px; - height: 16px; - margin-right: 2px; - opacity: 0.6; + width: 12px; + height: 12px; + margin-right: 1px; + opacity: 0.5; } diff --git a/client/src/helpers/formatClientCell.js b/client/src/helpers/formatClientCell.js index 054b41f6..931210a7 100644 --- a/client/src/helpers/formatClientCell.js +++ b/client/src/helpers/formatClientCell.js @@ -38,7 +38,7 @@ export const formatClientCell = (value, clients, autoClients, t) => { if (whois) { whoisContainer = ( -
+
{getFormattedWhois(whois, t)}
);