Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ux adjustments on proposal's highlighted page #14

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@
<% end %>
</div>

<div class="flex items-start justify-between">
<div class="grow space-y-6">
<span class="content-block__span">
<%= t("decidim.participatory_spaces.highlighted_proposals.last") %>
</span>

<% proposals_to_render.each do |p| %>
<%= card_for p, link_whole_card: true, title_tag: :h3, **options.slice(:show_space) %>
<% end %>
</div>

<div class="flex items-center justify-between">
<span class="content-block__span">
<%= t("decidim.participatory_spaces.highlighted_proposals.last") %>
</span>
<% if single_component? %>
<%= link_to decidim_proposals.new_proposal_path, class: "button button__sm md:button__lg button__secondary" do %>
<span><%= t("decidim.proposals.actions.new") %></span>
<%= icon "add-line" %>
<% end %>
<% end %>
</div>
<div class="flex items-start justify-between">
<div class="grow space-y-6">
<% proposals_to_render.each do |p| %>
<%= card_for p, link_whole_card: true, title_tag: :h3, **options.slice(:show_space) %>
<% end %>
</div>
</div>
Loading