Updated realtime logs component.

This commit is contained in:
Mike Cao 2020-10-10 01:28:26 -07:00
parent a039f405b6
commit f2cfab5078
21 changed files with 23 additions and 24 deletions

View file

@ -89,11 +89,11 @@ export default function RealtimeLog({ data, websites }) {
return (
<div className={styles.row} style={style}>
<div className={styles.time}>{format(new Date(row.created_at), 'h:mm:ss')}</div>
<div className={styles.website}>{getWebsite(row)}</div>
<div className={styles.detail}>
<Icon className={styles.icon} icon={getIcon(row)} />
{getDetail(row)}
</div>
<div className={styles.website}>{getWebsite(row)}</div>
</div>
);
};

View file

@ -1,5 +1,6 @@
.table {
font-size: var(--font-size-xsmall);
overflow: hidden;
}
.header {
@ -32,10 +33,8 @@
}
.website {
min-width: 120px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
text-align: right;
padding-right: 20px;
}
.detail {