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
Center align medium banner
Oliver Günther061115bef672
diff --git a/app/components/enterprise_edition/banner_component.html.erb b/app/components/enterprise_edition/banner_component.html.erbindex 8f6516f435c..3d1dc0b6bef 100644--- a/app/components/enterprise_edition/banner_component.html.erb+++ b/app/components/enterprise_edition/banner_component.html.erb@@ -10,7 +10,7 @@endgrid.with_area(:content) do- flex_layout(classes: "op-enterprise-banner--content-wrapper") do |flex|+ flex_layout do |flex|flex.with_row doif medium?flex_layout(align_items: :center, mb: 3) do |title_flex|@@ -29,10 +29,9 @@endend- flex.with_row(mt: 1, classes: "op-enterprise-banner--description") do- concat render(Primer::Beta::Text.new) { description }- concat " "- concat render(Primer::Beta::Text.new) { plan_text }+ flex.with_row(classes: "op-enterprise-banner--description") do+ concat render(Primer::Beta::Text.new(tag: :p)) { description }+ concat render(Primer::Beta::Text.new(tag: :p)) { plan_text }endif features.present?@@ -41,7 +40,7 @@endend- flex.with_row(mt: 2) do+ flex.with_row(mt: 1) dorender EnterpriseEdition::UpsellButtonsComponent.new(feature_key)endenddiff --git a/app/components/enterprise_edition/banner_component.sass b/app/components/enterprise_edition/banner_component.sassindex e93da3aa787..0170633f7ce 100644--- a/app/components/enterprise_edition/banner_component.sass+++ b/app/components/enterprise_edition/banner_component.sass@@ -51,14 +51,9 @@grid-template-columns: 1fr 1fr&--content+ align-self: centerpadding: var(--base-size-16)- &--content-wrapper- height: 100%-- &--description- flex: 1-&--graphicmin-height: 240pxwidth: 100%