Merge pull request #985 from stackernews/fix-modal-alignment

Fix alignment in modal
This commit is contained in:
Keyan 2024-03-28 11:22:43 -05:00 committed by GitHub
commit 5b18c1ff5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ export default function useModal () {
dialogClassName={className}
contentClassName={className}
>
<div className='d-flex flex-row align-self-end'>
<div className='d-flex flex-row'>
{modalOptions?.overflow &&
<div className={'modal-btn modal-overflow ' + className}>
<ActionDropdown>

View File

@ -485,9 +485,9 @@ div[contenteditable]:disabled,
.modal-content {
background-color: var(--theme-inputBg);
border-color: var(--theme-borderColor);
align-items: center;
}
.modal-body {
align-self: center;
width: fit-content;
}