mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 17:35:28 +00:00
Finish up new sidebar active.
Add rounded corners to sidebar.
This commit is contained in:
@@ -21,7 +21,8 @@ export default function ServerHeader({ server, ctx }: Props) {
|
||||
const bannerURL = ctx.client.servers.getBannerURL(server._id, { width: 480 }, true);
|
||||
|
||||
return (
|
||||
<Header placement="secondary"
|
||||
<Header borders
|
||||
placement="secondary"
|
||||
background={typeof bannerURL !== 'undefined'}
|
||||
style={{ background: bannerURL ? `linear-gradient(to bottom, transparent 50%, #000e), url('${bannerURL}')` : undefined }}>
|
||||
<ServerName>
|
||||
|
||||
Reference in New Issue
Block a user