Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e7b44fd

Browse files
Merge pull request #1149 from MenamAfzal/fix/modalColor
Added a default color to modal if no color provided
2 parents 5db2ba8 + fd73f93 commit e7b44fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎client/packages/lowcoder-design/src/components/CustomModal.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const ModalWrapper = styled.div<ModalWrapperProps>`
2525
flex-direction: column;
2626
width: ${(props) => (props.$width ? props.$width : "368px")};
2727
height: fit-content;
28-
background:${(props) => props.$customStyles?.backgroundColor}; ;
28+
background:${(props) => props.$customStyles?.backgroundColor||'#ffffff'};
2929
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
3030
border-radius: 8px;
3131
padding: 0 0 16px;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /