diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index c817fe797..62226e967 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -511,8 +511,7 @@ header { color: $text; display: inline-block; font-weight: bold; - margin-right: $line-height; - margin-right: 12px\9; + margin-right: $line-height/2; position: relative; text-align: left; diff --git a/app/assets/stylesheets/participation.scss b/app/assets/stylesheets/participation.scss index 57110299c..c7d296744 100644 --- a/app/assets/stylesheets/participation.scss +++ b/app/assets/stylesheets/participation.scss @@ -824,7 +824,7 @@ } .featured-debates-container, .featured-proposals-container { - margin: 0 !important; + margin: $line-height 0 !important; h2 { font-size: rem-calc(24); diff --git a/app/views/debates/index.html.erb b/app/views/debates/index.html.erb index 16197f221..3312fa0e7 100644 --- a/app/views/debates/index.html.erb +++ b/app/views/debates/index.html.erb @@ -24,16 +24,16 @@ <% end %> + <% unless @tag_filter || @search_terms %> + <%= render "featured_debates_static" %> + <% end %> + <%= render 'shared/order_links', i18n_namespace: "debates.index" %>
<%= link_to t("debates.index.start_debate"), new_debate_path, class: 'button radius expand' %>
- <% unless @tag_filter || @search_terms %> - <%= render "featured_debates_static" %> - <% end %> - <%= render @debates %> <%= paginate @debates %> diff --git a/app/views/proposals/index.html.erb b/app/views/proposals/index.html.erb index 6db5e3fc1..d7fdadee9 100644 --- a/app/views/proposals/index.html.erb +++ b/app/views/proposals/index.html.erb @@ -24,12 +24,6 @@ <% end %> - <%= render 'shared/order_links', i18n_namespace: "proposals.index" %> - -
- <%= link_to t("proposals.index.start_proposal"), new_proposal_path, class: 'button radius expand' %> -
- <% if @featured_proposals.present? %>