mirror of
https://github.com/revoltchat/revite.git
synced 2025-01-14 00:11:20 -05:00
fix(header): changed class names
This commit is contained in:
parent
c655a59979
commit
a396e511ec
1 changed files with 4 additions and 4 deletions
|
@ -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">
|
||||||
|
|
Loading…
Reference in a new issue