mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-09 02:05:28 +00:00
fix(servers): fixed server text font size
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user