Skip to content

Commit

Permalink
fix: DialogContentInner の className が Wrraper にあたっていたのを Inner に戻す (#1695
Browse files Browse the repository at this point in the history
)
  • Loading branch information
uknmr authored Jun 24, 2021
1 parent 91c6d4f commit 9fd9791
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Dialog/DialogContentInner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export const DialogContentInner: VFC<DialogContentInnerProps & ElementProps> = (
aria-label={ariaLabel}
aria-labelledby={ariaLabelledby}
>
<Wrapper ref={domRef} themes={theme} className={`${className} ${classNames.wrapper}`}>
<Wrapper ref={domRef} themes={theme} className={classNames.wrapper}>
<Background
onClick={handleClickOverlay}
themes={theme}
Expand All @@ -138,7 +138,7 @@ export const DialogContentInner: VFC<DialogContentInnerProps & ElementProps> = (
themes={theme}
role="dialog"
aria-modal="true"
className={classNames.dialog}
className={`${className} ${classNames.dialog}`}
{...props}
>
{/* dummy element for focus management. */}
Expand Down

0 comments on commit 9fd9791

Please sign in to comment.