make antispam rule channel list align properly

This commit is contained in:
janderedev 2022-03-16 20:58:48 +01:00
parent b077943e41
commit 50eda695ab
Signed by: Lea
GPG key ID: 5D5E18ACB990F57A

View file

@ -595,6 +595,7 @@ const ServerDashboard: FunctionComponent = () => {
If left empty, it will run in all channels. If left empty, it will run in all channels.
</H4> </H4>
<UserListTypeContainer> <UserListTypeContainer>
<div style={{ display: 'flex', flexWrap: 'wrap' }}>
{ {
channels.map(cid => { channels.map(cid => {
const channel: Channel = serverInfo.channels.find(c => c.id == cid && c.type == 'TEXT') const channel: Channel = serverInfo.channels.find(c => c.id == cid && c.type == 'TEXT')
@ -642,6 +643,7 @@ const ServerDashboard: FunctionComponent = () => {
setChannelsChanged(true); setChannelsChanged(true);
} }
}} /> }} />
</div>
</UserListTypeContainer> </UserListTypeContainer>
</div> </div>
</span> </span>