Skip to content

Commit

Permalink
Merge pull request #985 from stackernews/fix-modal-alignment
Browse files Browse the repository at this point in the history
Fix alignment in modal
  • Loading branch information
huumn committed Mar 28, 2024
2 parents 690d284 + dcb7205 commit 5b18c1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/modal.js
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion styles/globals.scss
Expand Up @@ -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;
}

Expand Down

0 comments on commit 5b18c1f

Please sign in to comment.