mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-25 15:12:08 -05:00
fix(servers): fixed server text font size
This commit is contained in:
parent
245c7a46ed
commit
6b11248364
2 changed files with 8 additions and 1 deletions
|
@ -15,6 +15,8 @@ interface Props extends IconBaseProps<Server> {
|
|||
const ServerText = styled.div`
|
||||
display: grid;
|
||||
padding: 0.2em;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
overflow: hidden;
|
||||
place-items: center;
|
||||
color: var(--foreground);
|
||||
|
|
|
@ -29,11 +29,16 @@ const Header = styled.div<Props>`
|
|||
font-weight: 600;
|
||||
user-select: none;
|
||||
align-items: center;
|
||||
|
||||
background-size: cover !important;
|
||||
background-position: center !important;
|
||||
background-color: var(--primary-header);
|
||||
|
||||
> div {
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
svg {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue