Skip to content

Commit

Permalink
fix: className for FirstPanel (#174)
Browse files Browse the repository at this point in the history
Co-authored-by: German Vorotnikov <[email protected]>
  • Loading branch information
GermanVor and German Vorotnikov authored Jan 24, 2024
1 parent 8bf31cd commit 3d11be8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/AsideHeader/components/FirstPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export const FirstPanel = React.forwardRef<HTMLDivElement>((_props, ref) => {
compact,
customBackground,
customBackgroundClassName,
className,
} = useAsideHeaderInnerContext();
const visibleMenuItems = useVisibleMenuItems();

Expand All @@ -33,7 +34,7 @@ export const FirstPanel = React.forwardRef<HTMLDivElement>((_props, ref) => {

return (
<>
<div className={b('aside')} style={{width: size}}>
<div className={b('aside', className)} style={{width: size}}>
<div className={b('aside-popup-anchor')} ref={asideRef} />

<div className={b('aside-content', {['with-decoration']: headerDecoration})}>
Expand Down

0 comments on commit 3d11be8

Please sign in to comment.