change style in css file
parent
bc55b16c9c
commit
491fe98c15
|
@ -123,14 +123,6 @@ export default function RealtimeLog({ data, websites, websiteId }) {
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id="message.log.visitor"
|
id="message.log.visitor"
|
||||||
defaultMessage="Visitor from {country} using {browser} on {os} {device}"
|
defaultMessage="Visitor from {country} using {browser} on {os} {device}"
|
||||||
style={{
|
|
||||||
overflow: 'hidden',
|
|
||||||
'text-overflow': 'ellipsis',
|
|
||||||
display: '-webkit-box',
|
|
||||||
'-webkit-line-clamp': 2,
|
|
||||||
'line-clamp': 2,
|
|
||||||
'-webkit-box-orient': 'vertical',
|
|
||||||
}}
|
|
||||||
values={{
|
values={{
|
||||||
country: <b>{countryNames[country] || intl.formatMessage(labels.unknown)}</b>,
|
country: <b>{countryNames[country] || intl.formatMessage(labels.unknown)}</b>,
|
||||||
browser: <b>{BROWSERS[browser]}</b>,
|
browser: <b>{BROWSERS[browser]}</b>,
|
||||||
|
|
|
@ -48,6 +48,15 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.detail > span {
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-line-clamp: 2;
|
||||||
|
line-clamp: 2;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
}
|
||||||
|
|
||||||
.row .link {
|
.row .link {
|
||||||
color: var(--gray900);
|
color: var(--gray900);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
Loading…
Reference in New Issue