Skip to content

Commit

Permalink
fix: change conditional rendering by modal type
Browse files Browse the repository at this point in the history
  • Loading branch information
HyejinYang committed Apr 15, 2024
1 parent 09d3dea commit f1bd36f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export const StyledDialog = styled("div")<DialogStyle>(
color: theme.palette.lunit_token.core.text_normal,

...DIALOG_WRAPPER_STYLE[isSmall ? "small" : "medium"],
...DIALOG_WRAPPER_STYLE[modalType ? "modal" : "nonModal"],
...DIALOG_WRAPPER_STYLE[modalType === "nonModal" ? "nonModal" : "modal"],

"& #dialog-title": {
...DIALOG_TITLE_STYLE[isSmall ? "small" : "medium"],
Expand Down

0 comments on commit f1bd36f

Please sign in to comment.