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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
[#63790] add flex-wrap to health report rows
Eric Schubertb4a66a05c175
diff --git a/modules/storages/app/components/storages/admin/health/check_result_component.html.erb b/modules/storages/app/components/storages/admin/health/check_result_component.html.erbindex 4cdc1214ba8..42cce4ff53c 100644--- a/modules/storages/app/components/storages/admin/health/check_result_component.html.erb+++ b/modules/storages/app/components/storages/admin/health/check_result_component.html.erb@@ -30,16 +30,16 @@ See COPYRIGHT and LICENSE files for more details.<%=flex_layout do |cell|cell.with_row do- flex_layout(justify_content: :space_between) do |row|- row.with_column(flex_layout: true) do |text|- text.with_column do+ flex_layout(justify_content: :space_between, classes: "flex-wrap") do |row|+ row.with_column(flex_layout: true, classes: "flex-wrap") do |text|+ text.with_column(mr: 2) dorender(Primer::Beta::Text.new(font_weight: :bold)) { data[:text] }end- text.with_column(ml: 2) do+ text.with_column(mr: 2) dorender(Primer::Beta::Text.new(font_size: :small, color: data[:status_color])) { data[:status_text] }endif data[:error_code].present?- text.with_column(ml: 2) do+ text.with_column dorender(Primer::Beta::Label.new(scheme: data[:status_color])) { data[:error_code] }endenddiff --git a/modules/storages/app/components/storages/admin/health/health_report_component.html.erb b/modules/storages/app/components/storages/admin/health/health_report_component.html.erbindex e1a01c016c5..fc6384b1101 100644--- a/modules/storages/app/components/storages/admin/health/health_report_component.html.erb+++ b/modules/storages/app/components/storages/admin/health/health_report_component.html.erb@@ -68,7 +68,7 @@ See COPYRIGHT and LICENSE files for more details.report_container.with_row(mt: 3) dorender(Primer::Beta::BorderBox.new(test_selector: "op-storages--health-report-group")) do |box|box.with_header do- flex_layout(justify_content: :space_between) do |header|+ flex_layout(justify_content: :space_between, classes: "flex-wrap") do |header|header.with_column dorender(Primer::Beta::Text.new(font_weight: :bold)) { group_result.humanize_title }end