:global(.ant-modal){ top: 0; } :global(.ant-modal-wrap){ display: flex; align-items: center; justify-content: center; }