Skip to content

Commit

Permalink
Merge pull request #39 from GooeyAI/alert-modal-header-padding
Browse files Browse the repository at this point in the history
fix padding and alignment for close button in alert dialog
  • Loading branch information
nikochiko authored Sep 23, 2024
2 parents 24680cf + 9d0a4d7 commit e39e882
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app/styles/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -780,3 +780,6 @@ a.text-primary:hover {
.modal {
animation: fadeInBackground 1s forwards;
}
.modal-header {
align-items: start;
}
2 changes: 1 addition & 1 deletion py/gooey_gui/components/modal.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def alert_dialog(
'<i class="fa fa-times fa-xl">',
key=ref.close_btn_key,
type="tertiary",
className="py-1 px-2 mb-1",
className="m-0 py-1 px-2",
)
return body

Expand Down

0 comments on commit e39e882

Please sign in to comment.