mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-31 11:21:06 -04:00
In Bootstrap 5 the close button has an auto left margin, so before the title it sat beside it instead of at the right edge. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
10 lines
384 B
Plaintext
10 lines
384 B
Plaintext
#mainModal.modal{"aria-hidden" => "true", "aria-labelledby" => "mainModalLabel", role: "dialog", tabindex: "-1"}
|
|
.modal-dialog
|
|
.modal-content
|
|
.modal-header
|
|
%h4#mainModalLabel.modal-title
|
|
= yield :title if content_for? :title
|
|
\ 
|
|
%button.btn-close{"aria-label" => "Close", "data-bs-dismiss" => "modal", type: "button"}
|
|
= yield
|