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:
parent
ad691d5158
commit
616854460a
@ -45,7 +45,13 @@ type Props = {
|
|||||||
|
|
||||||
export const CreateEntityPickerModal: React.FC<Props> = ({ open, onCancel, onSelect }) => {
|
export const CreateEntityPickerModal: React.FC<Props> = ({ open, onCancel, onSelect }) => {
|
||||||
return (
|
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'>
|
<div className='options'>
|
||||||
{OPTIONS.map((opt) => (
|
{OPTIONS.map((opt) => (
|
||||||
<button key={opt.key} type='button' className='optionCard' onClick={() => onSelect(opt.key)}>
|
<button key={opt.key} type='button' className='optionCard' onClick={() => onSelect(opt.key)}>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user