mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-25 07:02:10 -05:00
More settings fixes + clamped long usernames
This commit is contained in:
parent
2f563ef726
commit
03f572f365
3 changed files with 15 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -16,6 +16,10 @@
|
|||
background: var(--scrollbar-thumb);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-corner {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
::selection {
|
||||
background: var(--accent);
|
||||
color: var(--foreground);
|
||||
|
|
Loading…
Reference in a new issue