fix(servers): fixed server text font size

This commit is contained in:
trashtemp 2021-12-25 00:01:15 +01:00
parent 245c7a46ed
commit 6b11248364
No known key found for this signature in database
GPG key ID: D1F0DB65081B0FC6
2 changed files with 8 additions and 1 deletions

View file

@ -15,6 +15,8 @@ interface Props extends IconBaseProps<Server> {
const ServerText = styled.div` const ServerText = styled.div`
display: grid; display: grid;
padding: 0.2em; padding: 0.2em;
font-size: 0.75rem;
font-weight: 600;
overflow: hidden; overflow: hidden;
place-items: center; place-items: center;
color: var(--foreground); color: var(--foreground);

View file

@ -29,11 +29,16 @@ const Header = styled.div<Props>`
font-weight: 600; font-weight: 600;
user-select: none; user-select: none;
align-items: center; align-items: center;
background-size: cover !important; background-size: cover !important;
background-position: center !important; background-position: center !important;
background-color: var(--primary-header); background-color: var(--primary-header);
> div {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
svg { svg {
flex-shrink: 0; flex-shrink: 0;
} }