Mobile settings layout

This commit is contained in:
2023-08-28 16:31:46 +01:00
parent f0f009f4fd
commit efdc57b8c4
7 changed files with 32 additions and 13 deletions

View File

@ -167,7 +167,7 @@ export default function ProfileSettings(props: ProfileSettingsProps) {
{(props.banner ?? true) && (
<div
style={{
backgroundImage: (banner?.length ?? 0) > 0 ? `url(${banner})` : undefined,
background: (banner?.length ?? 0) > 0 ? `no-repeat center/cover url("${banner}")` : undefined,
}}
className="banner">
<AsyncButton type="button" onClick={() => setNewBanner()}>