Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

change margin top value for hidden participants

bsatarnejaddb0dde495082
diff --git a/modules/meeting/app/components/meetings/sidebar/details_component.html.erb b/modules/meeting/app/components/meetings/sidebar/details_component.html.erb
index 5b46f6e98ef..74b62bd9736 100644
--- a/modules/meeting/app/components/meetings/sidebar/details_component.html.erb
+++ b/modules/meeting/app/components/meetings/sidebar/details_component.html.erb
@@ -85,7 +85,7 @@
end
end
end
- details.with_row(mt: 2, display: [:block, :block, :none, :none, :none]) do
+ details.with_row(mt: 2, display: [:block, :none, :none, :none, :none]) do
render(Meetings::Sidebar::ParticipantsComponent.new(meeting: @meeting))
end
end
diff --git a/modules/meeting/app/components/meetings/sidebar/participants_component.html.erb b/modules/meeting/app/components/meetings/sidebar/participants_component.html.erb
index 5ca810c36a4..10df70997d3 100644
--- a/modules/meeting/app/components/meetings/sidebar/participants_component.html.erb
+++ b/modules/meeting/app/components/meetings/sidebar/participants_component.html.erb
@@ -48,7 +48,7 @@
end
end
- list.with_row(mt: 2) do
+ list.with_row(mt: 1) do
flex_layout do |flex|
flex.with_row(classes: 'd-none', data: { 'meetings-sidebar-participants-target': "hiddenParticipants" }) do
flex_layout do |hidden_user_list|
@@ -70,7 +70,7 @@
end
end
- participants_container.with_row(display: [:block, :block, :none, :none, :none]) do
+ participants_container.with_row(display: [:block, :none, :none, :none, :none]) do
flex_layout do |flex|
if count == 0
render(Primer::Beta::Text.new(color: :subtle)) { t("label_meeting_no_participants") }