diff --git a/components/message/style/index.tsx b/components/message/style/index.tsx index 3efa8c4553..c1aa7b0de0 100644 --- a/components/message/style/index.tsx +++ b/components/message/style/index.tsx @@ -21,6 +21,7 @@ const genMessageStyle: GenerateStyle = (token) => { componentCls, iconCls, boxShadow, + colorText, colorBgElevated, colorSuccess, colorError, @@ -69,6 +70,7 @@ const genMessageStyle: GenerateStyle = (token) => { { [componentCls]: { ...resetComponent(token), + color: colorText, position: 'fixed', top: marginXS, width: '100%',