Merge pull request #985 from stackernews/fix-modal-alignment
Fix alignment in modal
This commit is contained in:
commit
5b18c1ff5b
@ -61,7 +61,7 @@ export default function useModal () {
|
|||||||
dialogClassName={className}
|
dialogClassName={className}
|
||||||
contentClassName={className}
|
contentClassName={className}
|
||||||
>
|
>
|
||||||
<div className='d-flex flex-row align-self-end'>
|
<div className='d-flex flex-row'>
|
||||||
{modalOptions?.overflow &&
|
{modalOptions?.overflow &&
|
||||||
<div className={'modal-btn modal-overflow ' + className}>
|
<div className={'modal-btn modal-overflow ' + className}>
|
||||||
<ActionDropdown>
|
<ActionDropdown>
|
||||||
|
@ -485,9 +485,9 @@ div[contenteditable]:disabled,
|
|||||||
.modal-content {
|
.modal-content {
|
||||||
background-color: var(--theme-inputBg);
|
background-color: var(--theme-inputBg);
|
||||||
border-color: var(--theme-borderColor);
|
border-color: var(--theme-borderColor);
|
||||||
align-items: center;
|
|
||||||
}
|
}
|
||||||
.modal-body {
|
.modal-body {
|
||||||
|
align-self: center;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user