Skip to content

Commit

Permalink
Merge pull request lowcoder-org#1149 from MenamAfzal/fix/modalColor
Browse files Browse the repository at this point in the history
Added a default color to modal if no color provided
  • Loading branch information
FalkWolsky authored Sep 9, 2024
2 parents 5db2ba8 + fd73f93 commit e7b44fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const ModalWrapper = styled.div<ModalWrapperProps>`
flex-direction: column;
width: ${(props) => (props.$width ? props.$width : "368px")};
height: fit-content;
background:${(props) => props.$customStyles?.backgroundColor}; ;
background:${(props) => props.$customStyles?.backgroundColor || '#ffffff'};
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
border-radius: 8px;
padding: 0 0 16px;
Expand Down

0 comments on commit e7b44fd

Please # to comment.