Skip to content

Commit

Permalink
fix bug with banners
Browse files Browse the repository at this point in the history
  • Loading branch information
SupertigerDev committed Dec 17, 2024
1 parent 706bcd0 commit 2234209
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions src/components/profile-pane/ProfilePane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,16 +199,18 @@ export default function ProfilePane() {
style={isVisible() ? { "margin-right": "10px" } : {}}
>
<div class={classNames(styles.topArea)}>
<Banner
maxHeight={250}
animate
margin={0}
hexColor={user()?.hexColor}
url={bannerUrl(user()!)}
class={css`
z-index: 111;
`}
/>
<Show when={user()?.banner || true} keyed={true}>
<Banner
maxHeight={250}
animate
margin={0}
hexColor={user()?.hexColor}
url={bannerUrl(user()!)}
class={css`
z-index: 111;
`}
/>
</Show>
<FlexColumn class={styles.topAreaContent}>
<FlexRow>
<Avatar
Expand Down

0 comments on commit 2234209

Please sign in to comment.