fix(style): fix some styles
This commit is contained in:
@@ -119,6 +119,9 @@ const CompatibilityAlert: React.FC<CompatibilityAlertProps> = (props) => {
|
||||
contentStyle={contentStyle}
|
||||
type={type || 'warning'}
|
||||
icon={renderIcon}
|
||||
style={{
|
||||
paddingInlineEnd: showClose ? 20 : 16
|
||||
}}
|
||||
overlayScrollerProps={{
|
||||
scrollbars: {
|
||||
autoHide: 'move'
|
||||
|
||||
@@ -369,7 +369,7 @@ const AddModal: React.FC<AddModalProps> = (props) => {
|
||||
});
|
||||
}}
|
||||
warningStatus={warningStatus}
|
||||
contentStyle={{ paddingInline: 0 }}
|
||||
contentStyle={{ paddingInline: '0 6px' }}
|
||||
></CompatibilityAlert>
|
||||
<ModalFooter
|
||||
onCancel={handleCancel}
|
||||
|
||||
@@ -601,7 +601,7 @@ const AddModal: FC<AddModalProps> = (props) => {
|
||||
});
|
||||
}}
|
||||
warningStatus={warningStatus}
|
||||
contentStyle={{ paddingInline: 0 }}
|
||||
contentStyle={{ paddingInline: '0 6px' }}
|
||||
></CompatibilityAlert>
|
||||
<ModalFooter
|
||||
onCancel={handleCancel}
|
||||
|
||||
Reference in New Issue
Block a user