Skip to content

Commit

Permalink
Merge pull request #14436 from opf/bug/51374-notes-on-add-work-packag…
Browse files Browse the repository at this point in the history
…e-to-meeting-modal-are-overflowing

[51374] Notes on Add work package to meeting modal are overflowing
  • Loading branch information
dombesz authored Dec 18, 2023
2 parents f440c9e + 123ea81 commit 72378fe
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
<%=
content_tag("turbo-frame", id: "edit-participants-dialog-frame") do
component_wrapper do
component_wrapper(class: 'Overlay-form') do
primer_form_with(
model: @meeting,
method: :put,
url: update_participants_meeting_path(@meeting)
url: update_participants_meeting_path(@meeting),
class: 'Overlay-form'
) do |f|
component_collection do |collection|
collection.with_component(Primer::Alpha::Dialog::Body.new(style: "max-height: 460px;", my: 3)) do
collection.with_component(Primer::Alpha::Dialog::Body.new(my: 3)) do
flex_layout(mt: 3) do |form_container|
form_container.with_row do
flex_layout(justify_content: :flex_end) do |header|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
id: "#{@id}-frame",
loading: :lazy,
src: @src,
class: 'Overlay-form',
data: { 'op-turbo-op-primer-async-dialog-target': "frameElement" }) do
flex_layout(justify_content: :center) do |flex|
flex.with_column(my: 5) do
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<%=
content_tag("turbo-frame", id: "add-work-package-to-meeting-dialog-frame") do
component_wrapper do
component_wrapper(class: 'Overlay-form') do
primer_form_with(
model: @meeting_agenda_item,
method: :post,
url: work_package_meeting_agenda_items_path(@work_package)
url: work_package_meeting_agenda_items_path(@work_package),
class: 'Overlay-form'
) do |f|
component_collection do |collection|
collection.with_component(Primer::Alpha::Dialog::Body.new(test_selector: 'op-add-work-package-to-meeting-dialog-body')) do
Expand Down

0 comments on commit 72378fe

Please sign in to comment.