mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-26 07:22: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;
|
gap: 8px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.author {
|
.author {
|
||||||
|
overflow: hidden;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-weight: 600 !important;
|
font-weight: 600 !important;
|
||||||
|
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-line-clamp: 1;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: normal;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
@ -184,6 +192,7 @@ export const MessageContent = styled.div`
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const DetailBase = styled.div`
|
export const DetailBase = styled.div`
|
||||||
|
flex-shrink: 0;
|
||||||
gap: 4px;
|
gap: 4px;
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
|
|
|
@ -76,7 +76,8 @@ const ServerList = styled.div`
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
padding-bottom: 48px;
|
padding-bottom: 20px;
|
||||||
|
width: 58px;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
scrollbar-width: none;
|
scrollbar-width: none;
|
||||||
|
|
|
@ -16,6 +16,10 @@
|
||||||
background: var(--scrollbar-thumb);
|
background: var(--scrollbar-thumb);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-corner {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
::selection {
|
::selection {
|
||||||
background: var(--accent);
|
background: var(--accent);
|
||||||
color: var(--foreground);
|
color: var(--foreground);
|
||||||
|
|
Loading…
Reference in a new issue