More settings fixes + clamped long usernames

This commit is contained in:
nizune 2021-08-02 17:25:39 +02:00
parent 2f563ef726
commit 03f572f365
3 changed files with 15 additions and 1 deletions

View file

@ -95,12 +95,20 @@ export default styled.div<BaseMessageProps>`
gap: 8px;
display: flex;
align-items: center;
flex-shrink: 0;
}
.author {
overflow: hidden;
cursor: pointer;
font-weight: 600 !important;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
text-overflow: ellipsis;
white-space: normal;
&:hover {
text-decoration: underline;
}
@ -184,6 +192,7 @@ export const MessageContent = styled.div`
`;
export const DetailBase = styled.div`
flex-shrink: 0;
gap: 4px;
font-size: 10px;
display: inline-flex;

View file

@ -76,7 +76,8 @@ const ServerList = styled.div`
flex-grow: 1;
display: flex;
overflow-y: scroll;
padding-bottom: 48px;
padding-bottom: 20px;
width: 58px;
flex-direction: column;
scrollbar-width: none;

View file

@ -16,6 +16,10 @@
background: var(--scrollbar-thumb);
}
::-webkit-scrollbar-corner {
background: transparent;
}
::selection {
background: var(--accent);
color: var(--foreground);