AURORA-1868: вернуть marginBottom:0 в шапке CreateEntityPickerModal (ревью #210, п.3)

AppModal не задаёт margin у ant-modal-header, только padding — без
инлайн-override возвращался зазор, убранный в AURORA-1589 раньше.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Andrey Epifancev 2026-10-30 13:17:38 +04:00
parent ad691d5158
commit 616854460a

View File

@ -45,7 +45,13 @@ type Props = {
export const CreateEntityPickerModal: React.FC<Props> = ({ open, onCancel, onSelect }) => {
return (
<AppModal title='Выберите объект для добавления' open={open} onCancel={onCancel} footer={null} destroyOnHidden>
<AppModal
title='Выберите объект для добавления'
open={open}
onCancel={onCancel}
footer={null}
destroyOnHidden
styles={{ header: { marginBottom: 0 } }}>
<div className='options'>
{OPTIONS.map((opt) => (
<button key={opt.key} type='button' className='optionCard' onClick={() => onSelect(opt.key)}>