- client: Fix whois cell styles

This commit is contained in:
ArtemBaskal 2020-09-07 10:36:17 +03:00
parent 8dc0108868
commit 15a82233f3
3 changed files with 27 additions and 2 deletions

View File

@ -388,3 +388,28 @@
.logs__table .loading:before { .logs__table .loading:before {
min-height: 100%; min-height: 100%;
} }
.logs__whois {
display: inline;
font-size: 12px;
white-space: nowrap;
}
.logs__whois::after {
content: "|";
padding: 0 5px;
opacity: 0.3;
}
.logs__whois:last-child::after {
content: "";
}
.logs__whois-icon.icons {
position: relative;
top: -2px;
width: 12px;
height: 12px;
margin-right: 1px;
opacity: 0.5;
}

View File

@ -14,7 +14,7 @@ const getFormattedWhois = (value, t) => {
<div key={key} title={t(key)}> <div key={key} title={t(key)}>
{icon && ( {icon && (
<Fragment> <Fragment>
<svg className="logs__whois-icon text-muted-dark icons"> <svg className="logs__whois-icon text-muted-dark icons icon--24">
<use xlinkHref={`#${icon}`} /> <use xlinkHref={`#${icon}`} />
</svg> </svg>
&nbsp; &nbsp;

View File

@ -9,7 +9,7 @@ const getFormattedWhois = (whois) => {
.map((key) => { .map((key) => {
const icon = WHOIS_ICONS[key]; const icon = WHOIS_ICONS[key];
return ( return (
<span className="logs__whois text-muted " key={key} title={whoisInfo[key]}> <span className="logs__whois text-muted" key={key} title={whoisInfo[key]}>
{icon && ( {icon && (
<> <>
<svg className="logs__whois-icon icons icon--18"> <svg className="logs__whois-icon icons icon--18">