change style in css file

pull/1799/head
Blueagle 2023-02-28 09:13:16 +00:00
parent bc55b16c9c
commit 491fe98c15
2 changed files with 9 additions and 8 deletions

View File

@ -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>,

View File

@ -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;