Skip to content

Commit e39e882

Browse files
authored
Merge pull request #39 from GooeyAI/alert-modal-header-padding
fix padding and alignment for close button in alert dialog
2 parents 24680cf + 9d0a4d7 commit e39e882

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

app/styles/custom.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -780,3 +780,6 @@ a.text-primary:hover {
780780
.modal {
781781
animation: fadeInBackground 1s forwards;
782782
}
783+
.modal-header {
784+
align-items: start;
785+
}

py/gooey_gui/components/modal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def alert_dialog(
6262
'<i class="fa fa-times fa-xl">',
6363
key=ref.close_btn_key,
6464
type="tertiary",
65-
className="py-1 px-2 mb-1",
65+
className="m-0 py-1 px-2",
6666
)
6767
return body
6868

0 commit comments

Comments
 (0)