Skip to content

Commit

Permalink
fix(AsideHeader)!: move customBackground in aside container
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunory committed Dec 18, 2024
1 parent 6412e9d commit 782284a
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/components/AsideHeader/components/FirstPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,12 @@ export const FirstPanel = React.forwardRef<HTMLDivElement>((_props, ref) => {
<React.Fragment>
<div className={b('aside', className)} style={{width: size}} data-qa={qa}>
<div className={b('aside-popup-anchor')} ref={asideRef} />

{customBackground && (
<div className={b('aside-custom-background', customBackgroundClassName)}>
{customBackground}
</div>
)}
<div className={b('aside-content', {['with-decoration']: headerDecoration})}>
{customBackground && (
<div className={b('aside-custom-background', customBackgroundClassName)}>
{customBackground}
</div>
)}
<Header />
{visibleMenuItems?.length ? (
<CompositeBar
Expand Down

0 comments on commit 782284a

Please sign in to comment.