mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-09 08:43:37 -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;
|
||||
justify-content: end;
|
||||
|
||||
.title {
|
||||
.container {
|
||||
height: 48px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
@ -36,7 +36,7 @@ const ServerBanner = styled.div`
|
|||
text-overflow: ellipsis;
|
||||
gap: 8px;
|
||||
|
||||
.test {
|
||||
.title {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
@ -51,7 +51,7 @@ export default observer(({ server }: Props) => {
|
|||
return (
|
||||
<div>
|
||||
<ServerBanner>
|
||||
<div className="title">
|
||||
<div className="container">
|
||||
<div>
|
||||
{server.flags && server.flags & 1 ? (
|
||||
<Tooltip
|
||||
|
@ -105,7 +105,7 @@ export default observer(({ server }: Props) => {
|
|||
</Tooltip>
|
||||
) : undefined}
|
||||
</div>
|
||||
<div className="test">{server.name}</div>
|
||||
<div className="title">{server.name}</div>
|
||||
{(server.permission & ServerPermission.ManageServer) >
|
||||
0 && (
|
||||
<div className="actions">
|
||||
|
|
Loading…
Reference in a new issue