Skip to content

Commit 2dfa8bd

Browse files
committed
auto
1 parent 026e71a commit 2dfa8bd

1 file changed

Lines changed: 24 additions & 24 deletions

File tree

components/home/ServerList.tsx

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export default function ServerList() {
9090
></input>
9191
</div>
9292

93-
<div className="overflow-y-scroll ">
93+
<div className="overflow-y-auto ">
9494
{servers &&
9595
servers
9696
.sort(function (a, b) {
@@ -123,31 +123,31 @@ export default function ServerList() {
123123
{userServerPerms & ServerPermissions.MANAGE_MESSAGES ||
124124
userServerPerms & ServerPermissions.OWNER ||
125125
userServerPerms & ServerPermissions.ADMINISTRATOR ? (
126-
<Tooltip
127-
className="z-20 !opacity-100 font-semibold "
128-
style={{
129-
backgroundColor: '#21282b',
130-
borderRadius: '0.5rem',
131-
fontSize: '1.125rem',
132-
lineHeight: '1.75rem',
126+
<Tooltip
127+
className="z-20 !opacity-100 font-semibold "
128+
style={{
129+
backgroundColor: '#21282b',
130+
borderRadius: '0.5rem',
131+
fontSize: '1.125rem',
132+
lineHeight: '1.75rem',
133+
}}
134+
id="serverSettings"
135+
clickable
136+
openOnClick={true}
137+
>
138+
<div
139+
className="flex justify-center items-center hover:text-grey-300 cursor-pointer"
140+
onClick={() => {
141+
setShowAddChannelModal(true);
133142
}}
134-
id="serverSettings"
135-
clickable
136-
openOnClick={true}
137143
>
138-
<div
139-
className="flex justify-center items-center hover:text-grey-300 cursor-pointer"
140-
onClick={() => {
141-
setShowAddChannelModal(true);
142-
}}
143-
>
144-
<PlusIcon width={5} height={5} />
145-
<span className="ml-1">New channel</span>
146-
</div>
147-
</Tooltip>
148-
) : (
149-
''
150-
)}
144+
<PlusIcon width={5} height={5} />
145+
<span className="ml-1">New channel</span>
146+
</div>
147+
</Tooltip>
148+
) : (
149+
''
150+
)}
151151
</div>
152152
);
153153
}

0 commit comments

Comments
 (0)