This is an automated email from the ASF dual-hosted git repository. mintsweet pushed a commit to branch fix-bugs in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit 9a99d0fe1fbcf7df483bfdd404a340a6e4ca4a89 Author: mintsweet <[email protected]> AuthorDate: Wed Dec 27 16:58:31 2023 +1300 fix(config-ui): adjust the style for message component --- config-ui/src/components/message/index.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/config-ui/src/components/message/index.tsx b/config-ui/src/components/message/index.tsx index 04e7c5b50..6b9f2fc2f 100644 --- a/config-ui/src/components/message/index.tsx +++ b/config-ui/src/components/message/index.tsx @@ -17,6 +17,7 @@ */ import { WarningOutlined } from '@ant-design/icons'; +import { Space } from 'antd'; import styled from 'styled-components'; const Wrapper = styled.div` @@ -33,8 +34,10 @@ interface Props { export const Message = ({ style, size = 20, content }: Props) => { return ( <Wrapper style={style}> - <WarningOutlined size={size} color="#f4be55" /> - <span>{content}</span> + <Space> + <WarningOutlined style={{ fontSize: size, color: '#f4be55' }} /> + <span>{content}</span> + </Space> </Wrapper> ); };
