Simplify debates and proposals feed layout

Using the `:only-child` selector we can adjust widths with CSS and don't
have to rely on methods calculating which features are available.
This commit is contained in:
Javi Martín
2020-12-19 21:03:14 +01:00
parent 330efe5a41
commit 98aea588e5
7 changed files with 22 additions and 21 deletions

View File

@@ -92,9 +92,6 @@ describe "Homepage", :admin do
expect(page).to have_content "Most active debates"
expect(page).to have_css(".debate", count: 3)
end
expect(page).to have_css("#feed_proposals.medium-8")
expect(page).to have_css("#feed_debates.medium-4")
end
scenario "Processes", :js do