improve line rendering

This commit is contained in:
gempir 2020-11-08 14:27:00 +01:00
parent 51cfc6956f
commit 7ae9a57b7c
2 changed files with 2 additions and 3 deletions

View file

@ -26,6 +26,7 @@ const LogLineContainer = styled.li`
.user {
margin-left: 5px;
user-select: none;
font-weight: bold;
}
.message {

View file

@ -8,9 +8,7 @@ const UserContainer = styled.div.attrs(props => ({
color: props.color,
}
}))`
display: inline-block;
margin-left: 5px;
font-weight: bold;
display: inline;
`;
export function User({ displayName, color }: { displayName: string, color: string }): JSX.Element {