diff --git a/app/assets/stylesheets/participation.scss b/app/assets/stylesheets/participation.scss index 2961824bf..ae47166a1 100644 --- a/app/assets/stylesheets/participation.scss +++ b/app/assets/stylesheets/participation.scss @@ -989,12 +989,12 @@ min-height: $line-height * 25; padding-bottom: $line-height; padding-top: $line-height * 4; - z-index: -5; &.with-background-image { background-position: center; background-repeat: no-repeat; background-size: cover; + z-index: 0; } h1 { diff --git a/spec/system/budgets/budgets_spec.rb b/spec/system/budgets/budgets_spec.rb index d8db309f8..b818e1ff6 100644 --- a/spec/system/budgets/budgets_spec.rb +++ b/spec/system/budgets/budgets_spec.rb @@ -458,6 +458,15 @@ describe "Budgets" do expect(page).to have_content "So far you've supported 0 projects." end + + scenario "Main link takes you to the defined URL" do + budget.update!(main_link_text: "See other budgets!", main_link_url: budgets_path) + + visit budget_path(budget) + click_link "See other budgets!" + + expect(page).to have_current_path budgets_path + end end context "In Drafting phase" do