forked from abner/for-legacy-web
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>
|
||||
|
||||
@@ -52,7 +52,7 @@ export default function UserHeader({ user }: Props) {
|
||||
}
|
||||
|
||||
return (
|
||||
<Header placement="secondary">
|
||||
<Header borders placement="secondary">
|
||||
<UserIcon
|
||||
target={user}
|
||||
size={32}
|
||||
|
||||
Reference in New Issue
Block a user