From 5c2784794f7586bd8c2f8282a204b1da377afc6a Mon Sep 17 00:00:00 2001 From: decabeza Date: Fri, 6 Oct 2017 18:04:15 +0200 Subject: [PATCH 1/2] changes medium to large size on gallery images --- app/views/polls/_gallery.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/polls/_gallery.html.erb b/app/views/polls/_gallery.html.erb index d71b6dcfe..d3da43b88 100644 --- a/app/views/polls/_gallery.html.erb +++ b/app/views/polls/_gallery.html.erb @@ -19,7 +19,7 @@ <% answer.images.reverse.each_with_index do |image, index| %>
  • <%= link_to image.attachment.url(:original), target: "_blank" do %> - <%= image_tag image.attachment.url(:medium), + <%= image_tag image.attachment.url(:large), class: "orbit-image", alt: image.title %> <% end %> From dcc5ebf5309c70e9734dfc13e0f1220c66752cca Mon Sep 17 00:00:00 2001 From: decabeza Date: Fri, 6 Oct 2017 18:09:05 +0200 Subject: [PATCH 2/2] removes data equalizer to avoid big scrolls --- app/views/polls/show.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/polls/show.html.erb b/app/views/polls/show.html.erb index 5d02aa891..1eb128333 100644 --- a/app/views/polls/show.html.erb +++ b/app/views/polls/show.html.erb @@ -67,11 +67,11 @@
    -
    +
    <% @poll.questions.map(&:question_answers).flatten.each do |answer| %>
    + data-toggler=".medium-6"> <% if answer.description.present? %>

    <%= answer.title %>