fix(header): changed class names

This commit is contained in:
trashtemp 2021-12-27 15:15:37 +01:00
parent c655a59979
commit a396e511ec
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: D1F0DB65081B0FC6

View file

@ -25,7 +25,7 @@ const ServerBanner = styled.div`
flex-direction: column; flex-direction: column;
justify-content: end; justify-content: end;
.title { .container {
height: 48px; height: 48px;
display: flex; display: flex;
align-items: center; align-items: center;
@ -36,7 +36,7 @@ const ServerBanner = styled.div`
text-overflow: ellipsis; text-overflow: ellipsis;
gap: 8px; gap: 8px;
.test { .title {
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
@ -51,7 +51,7 @@ export default observer(({ server }: Props) => {
return ( return (
<div> <div>
<ServerBanner> <ServerBanner>
<div className="title"> <div className="container">
<div> <div>
{server.flags && server.flags & 1 ? ( {server.flags && server.flags & 1 ? (
<Tooltip <Tooltip
@ -105,7 +105,7 @@ export default observer(({ server }: Props) => {
</Tooltip> </Tooltip>
) : undefined} ) : undefined}
</div> </div>
<div className="test">{server.name}</div> <div className="title">{server.name}</div>
{(server.permission & ServerPermission.ManageServer) > {(server.permission & ServerPermission.ManageServer) >
0 && ( 0 && (
<div className="actions"> <div className="actions">